The HeaderValueCollection type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddRange |
Adds a range of items contained in the specified collection.
The type of items being added has to correspond to the type of collection being updated.
| |
Clear |
Removes all items from the list.
| |
Clone |
Creates a copy of the header.
| |
CopyTo |
Copies the range of elements from the HeaderValueCollection to a compatible one-dimensional
Array, starting at the specified index of the target array.
| |
Encode |
Writes an encoded header value into a TextWriter.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
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.) | |
GetEnumerator |
Gets an IEnumerator for the collection.
| |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveAt |
Removes the item at the specified index from the list.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of items in the collection.
| |
IsSynchronized |
Gets a value indicating whether access to HeaderValueCollection is synchronized (thread-safe).
| |
SyncRoot |
Gets an object that can be used to synchronize access to HeaderValueCollection object.
|