Partager via


MimeDocument.WriteTo Method (Stream)

The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in the Document Object Model (DOM) to 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 _
) As Long
public long WriteTo (
    Stream stream
)
public:
long long WriteTo (
    Stream^ stream
)
public long WriteTo (
    Stream stream
)
public function WriteTo (
    stream : Stream
) : long

Parameters

  • stream
    The stream into which to write the MIME data that is contained in this MimeDocument object.

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