The header of an entity (see RFC 2045).
Inheritance Hierarchy
NI.Email.Mime.Message Header
Namespace: NI.Email.Mime.Message
Assembly: NI.Email.Mime (in NI.Email.Mime.dll) Version: 1.8.5168.22709
Syntax
The Header type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Header |
Creates a new empty Header.
| |
Header(Stream) |
Creates a new Header from the specified stream.
@param is the stream to read the header from.
|
Methods
Name | Description | |
---|---|---|
AddContentTransferEncoding | ||
AddContentType(String, Boolean) | ||
AddContentType(String, IDictionary) | ||
AddContentType(String, IDictionary, Boolean) | ||
AddField |
Adds a field to the end of the list of fields.
| |
AddFrom | ||
AddMimeVersion | ||
AddMimeVersion(String) | ||
AddSubject | ||
AddTo | ||
ChangeField | ||
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetField |
Gets a Field given a field name. If there are multiple
such fields defined in this header the first one will be returned.
| |
GetFields |
Gets all Fields having the specified field name.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Overrides Object ToString .) | |
WriteTo |
Properties
Name | Description | |
---|---|---|
Fields |
Gets the fields of this header. The returned list will not be
modifiable.
Returns the list of Field objects.
|
See Also