Share via


MailItem.GetMimeWriteStream method

When overridden in a derived class, the GetMimeWriteStream method gets a writeable stream that contains the Multipurpose Internet Mail Extensions (MIME) content for the derived class.

Namespace:  Microsoft.Exchange.Data.Transport
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride Function GetMimeWriteStream As Stream
'Usage
Dim instance As MailItem
Dim returnValue As Stream

returnValue = instance.GetMimeWriteStream()
public abstract Stream GetMimeWriteStream()

Return value

Type: System.IO.Stream
When overridden in a derived class, the GetMimeWriteStream method returns a write-only stream.

See also

Reference

MailItem class

MailItem members

Microsoft.Exchange.Data.Transport namespace