WebHeaderCollection Properties
.NET Framework 4.5
The WebHeaderCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
AllKeys | Gets all header names (keys) in the collection. (Overrides NameValueCollection.AllKeys.) |
|
Count | Gets the number of headers in the collection. (Overrides NameObjectCollectionBase.Count.) |
|
IsReadOnly | Gets or sets a value indicating whether the NameObjectCollectionBase instance is read-only. (Inherited from NameObjectCollectionBase.) |
|
Item[HttpRequestHeader] | Gets or sets the specified request header. |
|
Item[HttpResponseHeader] | Gets or sets the specified response header. |
|
Item[Int32] | Gets the entry at the specified index of the NameValueCollection. (Inherited from NameValueCollection.) |
|
Item[String] | Gets or sets the entry with the specified key in the NameValueCollection. (Inherited from NameValueCollection.) |
|
Keys | Gets the collection of header names (keys) in the collection. (Overrides NameObjectCollectionBase.Keys.) |
| Name | Description | |
|---|---|---|
|
ICollection.IsSynchronized | Gets a value indicating whether access to the NameObjectCollectionBase object is synchronized (thread safe). (Inherited from NameObjectCollectionBase.) |
|
ICollection.SyncRoot | Gets an object that can be used to synchronize access to the NameObjectCollectionBase object. (Inherited from NameObjectCollectionBase.) |