Partager via


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
'Usage
Dim instance As MimeDocument
Dim stream As Stream
Dim encodingOptions As EncodingOptions
Dim filter As MimeOutputFilter
Dim returnValue As Long

returnValue = instance.WriteTo(stream, _
    encodingOptions, filter)
public long WriteTo(
    Stream stream,
    EncodingOptions encodingOptions,
    MimeOutputFilter filter
)

Parameters

Return Value

Type: System.Int64