WebHeaderCollection Methods
.NET Framework 3.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Add | Overloaded. Inserts a new header into the collection. |
| Clear | Overridden. Removes all headers from the collection. |
| CopyTo | Copies the entire NameValueCollection to a compatible one-dimensional Array, starting at the specified index of the target array. (inherited from NameValueCollection) |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| Get | Overloaded. Overridden. Get the value of a header from the collection. |
| GetEnumerator | Overridden. Returns an enumerator that can iterate through the WebHeaderCollection instance. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetKey | Overridden. Get the header name at the specified position in the collection. |
| GetObjectData | Overridden. Populates a SerializationInfo with the data needed to serialize the target object. |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| GetValues | Overloaded. Overridden. Gets an array of header values stored in a header. |
| HasKeys | Gets a value indicating whether the NameValueCollection contains keys that are not a null reference (Nothing in Visual Basic). (inherited from NameValueCollection) |
| IsRestricted | Overloaded. Tests whether the specified HTTP header can be set. |
| OnDeserialization | Overridden. Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| Remove | Overloaded. Removes the specified header from the collection. |
| Set | Overloaded. Sets the specified header to the specified value. |
| ToByteArray | Converts the WebHeaderCollection to a byte array.. |
| ToString | Overridden. Obsolete. |
| Name | Description | |
|---|---|---|
| AddWithoutValidate | Inserts a header into the collection without checking whether the header is on the restricted header list. |
| BaseAdd | Adds an entry with the specified key and value into the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| BaseClear | Removes all entries from the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| BaseGet | Overloaded. Gets the value of the specified entry from the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| BaseGetAllKeys | Returns a String array that contains all the keys in the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| BaseGetAllValues | Overloaded. Returns an array that contains all the values in the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| BaseGetKey | Gets the key of the entry at the specified index of the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| BaseHasKeys | Gets a value indicating whether the NameObjectCollectionBase instance contains entries whose keys are not a null reference (Nothing in Visual Basic). (inherited from NameObjectCollectionBase) |
| BaseRemove | Removes the entries with the specified key from the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| BaseRemoveAt | Removes the entry at the specified index of the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| BaseSet | Overloaded. Sets the value of an entry in the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| InvalidateCachedArrays | Resets the cached arrays of the collection to a null reference (Nothing in Visual Basic). (inherited from NameValueCollection) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |