This documentation is archived and is not being maintained.

WebHeaderCollection.Item Property

Gets or sets the specified header.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public property Item[HttpRequestHeader] Gets or sets the specified request header.
Public property Item[HttpResponseHeader] Gets or sets the specified response header.
Public property Item[Int32] Gets the entry at the specified index of the NameValueCollection. (Inherited from NameValueCollection.)
Public property Item[String] Gets or sets the entry with the specified key in the NameValueCollection. (Inherited from NameValueCollection.)