MimeHeaderCollection.Item Property
Namespace: Rebex.Mime
Assembly: Rebex.Mail.dll (version 7.0.9147)
Item[Int32]
Gets the Mime
Declaration
public MimeHeader this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The zero-based index of the Mime |
Property Value
Type | Description |
---|---|
Mime |
Mime |
Item[String]
Gets the Mime
Declaration
public MimeHeader this[string headerName] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
String | headerName | The name of the header to get. |
Property Value
Type | Description |
---|---|
Mime |
Mime |
Remarks
If no header of the specified name is found, the return value is null.
If more than one headers are found, only the first is returned.
When assinging value, the first header of specified name is changed and remaining headers of the same name are removed.