RequestHeaders Properties

The RequestHeaders type exposes the following members.

Properties
  NameDescription
Public propertyAllKeys
Gets all header names (keys) in the collection.
(Inherited from WebHeaderCollection.)
Public propertyCount
Gets the number of headers in the collection.
(Inherited from WebHeaderCollection.)
Protected propertyIsReadOnly
Gets or sets a value indicating whether the NameObjectCollectionBase instance is read-only.
(Inherited from NameObjectCollectionBase.)
Public propertyItemHttpRequestHeader
Gets or sets the specified request header.
(Inherited from WebHeaderCollection.)
Public propertyItemHttpResponseHeader
Gets or sets the specified response header.
(Inherited from WebHeaderCollection.)
Public propertyItemString
Gets or sets the entry with the specified key in the NameValueCollection.
(Inherited from NameValueCollection.)
Public propertyItemInt32
Gets the entry at the specified index of the NameValueCollection.
(Inherited from NameValueCollection.)
Public propertyKeys
Gets the collection of header names (keys) in the collection.
(Inherited from WebHeaderCollection.)
See Also