MimePart.WriteTo Method (Stream, EncodingOptions, MimeOutputFilter)
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
- stream
Type: System.IO.Stream
The stream to write to.
- encodingOptions
Type: Microsoft.Exchange.Data.Mime.EncodingOptions
An EncodingOptions enumeration value that specifies how to encode the data as it is written to stream.
- filter
Type: Microsoft.Exchange.Data.Mime.MimeOutputFilter
A MimeOutputFilter callback object that controls the data as it is written to stream.
Return Value
Type: System.Int64
See Also