Gets the MimeHeader of the specified name.
Namespace:
Rebex.Mime
Assembly:
Rebex.Mail (in Rebex.Mail.dll)
Syntax
Visual Basic |
---|
Public Default Property Item ( _ headerName As String _ ) As MimeHeader Get Set |
C# |
---|
public MimeHeader this[ string headerName ] { get; set; } |
Parameters
- headerName
- Type: System..::..String
The name of the header to get.
Field Value
MimeHeader of the specified name.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.