Mime4.net Home | Community Edition | Order | Usage examples | Feedback
Header ClassMIME4NET Class Library Documentation
The header of an entity (see RFC 2045).
Inheritance Hierarchy

System Object
  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

public class Header

The Header type exposes the following members.

Constructors

  NameDescription
Public methodHeader 
Creates a new empty Header.
Public methodHeader(Stream)
Creates a new Header from the specified stream. @param is the stream to read the header from.
Top
Methods

  NameDescription
Public methodAddContentTransferEncoding
Public methodAddContentType(String, Boolean)
Public methodAddContentType(String, IDictionary)
Public methodAddContentType(String, IDictionary, Boolean)
Public methodAddField
Adds a field to the end of the list of fields.
Public methodAddFrom
Public methodAddMimeVersion 
Public methodAddMimeVersion(String)
Public methodAddSubject
Public methodAddTo
Public methodChangeField
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetField
Gets a Field given a field name. If there are multiple such fields defined in this header the first one will be returned.
Public methodGetFields
Gets all Fields having the specified field name.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides Object ToString .)
Public methodWriteTo
Top
Properties

  NameDescription
Public propertyFields
Gets the fields of this header. The returned list will not be modifiable. Returns the list of Field objects.
Top
See Also