MimeDocument.WriteTo Method (Stream, EncodingOptions, MimeOutputFilter)
The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in the Document Object Model (DOM) to stream by using encodingOptions and filter.
Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)
Syntax
'Declaration
Public Function WriteTo ( _
stream As Stream, _
encodingOptions As EncodingOptions, _
filter As MimeOutputFilter _
) As Long
public long WriteTo (
Stream stream,
EncodingOptions encodingOptions,
MimeOutputFilter filter
)
public:
long long WriteTo (
Stream^ stream,
EncodingOptions^ encodingOptions,
MimeOutputFilter^ filter
)
public long WriteTo (
Stream stream,
EncodingOptions encodingOptions,
MimeOutputFilter filter
)
public function WriteTo (
stream : Stream,
encodingOptions : EncodingOptions,
filter : MimeOutputFilter
) : long
Parameters
- stream
The stream into which to write the MIME data that is contained in this MimeDocument object.
- encodingOptions
An EncodingOptions class that controls how to encode the MIME data as it is written to stream.
- filter
A MimeOutputFilter object that controls which headers and what content is written to stream.
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