MimeDocument Class
The MimeDocument class represents a Multipurpose Internet Mail Extensions (MIME) document.
Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)
Syntax
'Declaration
Public Class MimeDocument
Implements IDisposable
public class MimeDocument : IDisposable
public ref class MimeDocument : IDisposable
public class MimeDocument implements IDisposable
public class MimeDocument implements IDisposable
Remarks
This class implements a MIME RFC 2822-compliant parser and holds the resulting Document Object Model (DOM). The MimeDocument object contains an in-memory tree representation of a MIME document and enables the navigation and editing of this document.
You can load MIME data into a MimeDocument object by using a source stream to call the instance Load method or by writing to the MIME stream returned by the GetLoadStream method. Loading the MIME data into a MimeDocument object by using the Load method creates a fully-formed DOM that can be navigated and modified. Writing the MIME data into the stream that is returned by the GetLoadStream method allows you to dynamically parse and load MIME data as it arrives from the source.
Inheritance Hierarchy
System.Object
Microsoft.Exchange.Data.Mime.MimeDocument
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003