Share via


MimePart.WriteTo method (Stream, EncodingOptions, MimeOutputFilter)

The WriteTo method writes the contents of this MimePart object to a 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, _
    encodingOptions As EncodingOptions, _
    filter As MimeOutputFilter _
) As Long
'Usage
Dim instance As MimePart
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

See also

Reference

MimePart class

MimePart members

WriteTo overload

Microsoft.Exchange.Data.Mime namespace