The MimeHeaderCollection type exposes the following members.

Methods

  NameDescription
Public methodAdd(MimeHeader)
Adds a MimeHeader to the end of the list.
Public methodAdd(String, String)
Adds a new header to the end of the list.
Public methodClear
Removes all headers from the list.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAllHeaders
Gets all MimeHeader of the specified name.
Public methodGetAllHeaderValuesRaw
Gets raw text representations of all headers of the specified name.
Public methodGetEnumerator()()()()
Gets an IEnumerator for the MimeHeaderCollection collection.
Public methodGetEnumerator(Int32, Int32) Obsolete.
Public methodGetHashCode
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.)
Public methodGetRaw
Gets the raw text representation of the specified header if available.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert(Int32, MimeHeader)
Inserts a MimeHeader into the list at the specified index.
Public methodInsert(Int32, String, String)
Inserts a headerinto the list at the specified index.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(String)
Removes all MimeHeaders of the specified name from the list.
Public methodRemove(MimeHeader)
Removes the first occurance of specified MimeHeader from the list.
Public methodRemoveAt
Removes the MimeHeader at the specified index from the list.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCount
Gets the number of headers contained in the MimeHeaderCollection.
Public propertyItem[([( Int32])])
Gets the MimeHeader at the specified index.
Public propertyItem[([( String])])
Gets the MimeHeader of the specified name.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the MimeHeaderCollection collection.

Explicit Interface Implementations

See Also