The HeaderCollectiontype exposes the following members.


  Name Description
Public method Add The Addmethod adds the specific header to the collection.
Public method Clear The Clearmethod removes all headers from the collection.
Public method Contains The Containsmethod determines whether the specific header exists in the collection.
Public method CopyTo The CopyTomethod copies the entire HeaderCollection to a compatible one-dimensional array, starting at the specified index of the target array.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindFirst(String) Finds the first header of the specified type.
Public method FindFirst(Header . . :: . . StandardHeaderType) Finds the first header of the specified standard type.
Public method GetEnumerator Returns an enumerator that can iterate through the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IndexOf Determines the index of a specific item in the list.
Public method Insert Inserts an item to the list at the specified position.
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Removes the first occurrence of the specific item from the list.
Public method RemoveAt Removes the list item at the specified index.
Public method ToString (Inherited from Object.)

See also