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

Add() public method

public Add ( string name, string value ) : void
name string
value string
return void
		public override void Add (string name, string value)
		{
			if (name == null)
				throw new ArgumentNullException ("name");
			if (internallyCreated && IsRestricted (name))
				throw new ArgumentException ("This header must be modified with the appropiate property.");
			this.AddWithoutValidate (name, value);
		}

Same methods

WebHeaderCollection.WebHeaderCollection::Add ( HttpRequestHeader header, string value ) : void
WebHeaderCollection.WebHeaderCollection::Add ( HttpResponseHeader header, string value ) : void
WebHeaderCollection.WebHeaderCollection::Add ( string header ) : void