Header Class
Represents MIME entity header.
- Inheritance:
- System.ObjectHeader
Constructors
Header(HeaderId, String)
Initializes a new instance of the Header class with specified identifier and body.
Parameters
id
- HeaderId
The identifier.
body
- System.String
The body.
Header(String, String)
Initializes a new instance of the Header class with specified name and body.
Parameters
name
- System.String
The name.
body
- System.String
The body.
Properties
Body
Gets or sets the body.
Property Value
- System.String
The body.
BodyCharset
Gets or sets the body charset.
Property Value
- System.Text.Encoding
The body charset.
Id
Gets the identifier.
Property Value
The identifier.
Name
Gets the name.
Property Value
- System.String
The name.
Methods
ToString()
Returns a System.String that represents this instance.
Returns
- System.String
A System.String that represents this instance.
Overrides
System.Object.ToString()