HeaderCollection Methods |
The HeaderCollection type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add(String) |
Adds the header without value
|
![]() | Add(HeaderCollection) |
Adds a header to collection.
|
![]() | Add(String, String) |
Adds the header.
|
![]() | Add_ |
Adds the header.
|
![]() | Clear |
Clears all headers.
|
![]() | Contains |
Gets a value indicating whether the specified header is contained in the collection
|
![]() | CopyTo |
Copies all the elements of the current collection
to the specified string array starting at the specified destination index.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | Get(Int32) |
Gets the value at the specified index.
|
![]() | Get(String) |
Gets the header value by a given header name.
|
![]() | GetDecodedValue |
Gets the header value.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through a collection.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetKey |
Gets the key at the specified index of the collection.
|
![]() | GetType | (Inherited from Object.) |
![]() | GetValues |
Gets the header values.
|
![]() | HasKeys |
Gets a value indicating whether the collection contains keys.
|
![]() | Insert |
Inserts the header in collection.
If collection contains headers with the same name this header will be inserted before other headers with the same name.
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Remove |
Removes the header from collection by a given header name.
|
![]() | Set |
Sets the header.
|
![]() | ToString | (Inherited from Object.) |