HeaderCollection
Contents
[
Hide
]HeaderCollection class
Defines the collection of header fields
Constructors
| Name | Description |
|---|---|
| HeaderCollection (4 overloads) | Initializes a new instance of the HeaderCollection class. |
Methods
| Name | Description |
|---|---|
| Add (4 overloads) | Adds a header to collection. |
| Add_ | Adds the header. |
| AddHeaderObject | Adds the specified header value |
| 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. |
| Get (2 overloads) | Gets the value at the specified index. |
| get_AllKeys | Gets an array of strings containing all header keys in collections |
| get_Count | Gets a count of headers |
| get_IsReadOnly | Is collection readonly |
| get_Keys | Gets a T:System::Collections::ObjectModel::ReadOnlyCollection |
| GetDecodedValue | Gets the header value. |
| GetEnumerator | Returns an enumerator that iterates through a collection. |
| GetHeaderObject | Gets the object representing the specified header value Note: it gets the first value for multi-valued headers |
| GetHeaderObjects | Gets the objects array representing the specified header value Note: it gets the first value for multi-valued headers |
| GetKey | Gets the key at the specified index of the collection. |
| GetString | Returns a System::String that represents this instance. |
| GetValues | Gets the header values. |
| HasKeys | Gets a value indicating whether the collection contains keys. |
| idx_get (2 overloads) | Gets a value from collection by the index. |
| idx_set | Gets a value from collection by the name. |
| 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. |
| InternalRemove | |
| InternalSet | |
| Remove | Removes the header from collection by a given header name. |
| Set | Sets the header. |
| SetHeaderObject | Sets the specified header value |