Share via


MimeNode.WriteTo method (Stream, EncodingOptions)

The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in this MimeNode object into stream by using encodingOptions.

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 _
) As Long
'Usage
Dim instance As MimeNode
Dim stream As Stream
Dim encodingOptions As EncodingOptions
Dim returnValue As Long

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

Parameters

Return value

Type: System.Int64

See also

Reference

MimeNode class

MimeNode members

WriteTo overload

Microsoft.Exchange.Data.Mime namespace