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.