Share via


MimeDocument.WriteTo Method (Stream)

The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in the Document Object Model (DOM) to stream.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Function WriteTo ( _
    stream As Stream _
) As Long
'Usage
Dim instance As MimeDocument
Dim stream As Stream
Dim returnValue As Long

returnValue = instance.WriteTo(stream)
public long WriteTo(
    Stream stream
)

Parameters

Return Value

Type: System.Int64