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
stream
Type: System.IO.StreamThe stream into which to write the MIME data.
encodingOptions
Type: Microsoft.Exchange.Data.Mime.EncodingOptionsThe EncodingOptions object that controls the encoding that is used when the MIME data is written.
Return value
Type: System.Int64