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
'Usage
Dim instance As MimeDocument
Dim stream As Stream
Dim returnValue As Long
returnValue = instance.WriteTo(stream)
public long WriteTo(
Stream stream
)
Parameters
- stream
Type: System.IO.Stream
The stream into which to write the MIME data that is contained in this MimeDocument object.
Return Value
Type: System.Int64