MimeNode.WriteTo Method (Stream, 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
- stream
 Type: System.IO.Stream
 The stream into which to write the MIME data.
- encodingOptions
 Type: Microsoft.Exchange.Data.Mime.EncodingOptions
 The EncodingOptions object that controls the encoding that is used when the MIME data is written.
Return Value
Type: System.Int64
See Also