System.Net.WebHeaderCollection.WebHeaderCollection.SetInternal C# (CSharp) Method

SetInternal() private method

private SetInternal ( string header ) : void
header string
return void
		internal void SetInternal (string header)
		{
			int pos = header.IndexOf (':');
			if (pos == -1)
				throw new ArgumentException ("no colon found", "header");				

			SetInternal (header.Substring (0, pos), header.Substring (pos + 1));
		}

Same methods

WebHeaderCollection.WebHeaderCollection::SetInternal ( string name, string value ) : void