Partager 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
public long WriteTo (
    Stream stream,
    EncodingOptions encodingOptions,
    MimeOutputFilter filter
)
public:
long long WriteTo (
    Stream^ stream, 
    EncodingOptions^ encodingOptions, 
    MimeOutputFilter^ filter
)
public long WriteTo (
    Stream stream, 
    EncodingOptions encodingOptions, 
    MimeOutputFilter filter
)
public function WriteTo (
    stream : Stream, 
    encodingOptions : EncodingOptions, 
    filter : MimeOutputFilter
) : long

Parameters

  • stream
    The stream to write to.
  • encodingOptions
    An EncodingOptions enumeration value that specifies how to encode the data as it is written to stream.
  • filter
    A MimeOutputFilter callback object that controls the data as it is written to stream.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003