HeaderCollection Methods

The HeaderCollection type exposes the following members.

Public methodAdd(String)
Adds the header without value
Public methodAdd(HeaderCollection)
Adds a header to collection.
Public methodAdd(String, String)
Adds the header.
Public methodAdd_
Adds the header.
Public methodClear
Clears all headers.
Public methodContains
Gets a value indicating whether the specified header is contained in the collection
Public methodCopyTo
Copies all the elements of the current collection to the specified string array starting at the specified destination index.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGet(Int32)
Gets the value at the specified index.
Public methodGet(String)
Gets the header value by a given header name.
Public methodGetDecodedValue
Gets the header value.
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetKey
Gets the key at the specified index of the collection.
Public methodGetType (Inherited from Object.)
Public methodGetValues
Gets the header values.
Public methodHasKeys
Gets a value indicating whether the collection contains keys.
Public methodInsert
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.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove
Removes the header from collection by a given header name.
Public methodSet
Sets the header.
Public methodToString (Inherited from Object.)
See Also