MimeHeaderCollection Class
Namespace: Rebex.Mime
Assembly: Rebex.Mail.dll (version 7.0.9083)
Represents the collection of MimeHeader objects of this MimeEntity.
Syntax
public class MimeHeaderCollection : IEnumerable<MimeHeader>, IEnumerable
Inherited Members
Properties
Name | Description |
---|---|
Count | Gets the number of headers contained in the MimeHeaderCollection. |
Item[Int32] | Gets the MimeHeader at the specified index. |
Item[String] | Gets the MimeHeader of the specified name. |
SyncRoot | Gets an object that can be used to synchronize access to the MimeHeaderCollection collection. |
Methods
Name | Description |
---|---|
Add(MimeHeader) | Adds a MimeHeader to the end of the list. |
Add(String, String) | Adds a new header to the end of the list. |
Clear() | Removes all headers from the list. |
GetAllHeaders(String) | Gets all MimeHeader of the specified name. |
GetAllHeaderValuesRaw(String) | Gets raw text representations of all headers of the specified name. |
GetEnumerator() | Gets an IEnumerator for the MimeHeaderCollection collection. |
GetRaw(String) | Gets the raw text representation of the specified header if available. |
Insert(Int32, MimeHeader) | Inserts a MimeHeader into the list at the specified index. |
Insert(Int32, String, String) | Inserts a headerinto the list at the specified index. |
Remove(MimeHeader) | Removes the first occurance of specified MimeHeader from the list. |
Remove(String) | Removes all MimeHeaders of the specified name from the list. |
RemoveAt(Int32) | Removes the MimeHeader at the specified index from the list. |
Explicit Interface Implementations
Name | Description |
---|---|
IEnumerable<MimeHeader>.GetEnumerator() | Gets an IEnumerator<T> for the MimeHeaderCollection collection. |