MimePart.GetRawContentWriteStream method

The GetRawContentWriteStream method returns a stream that can be used to write data into the body of this MimePart object.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Function GetRawContentWriteStream As Stream
'Usage
Dim instance As MimePart
Dim returnValue As Stream

returnValue = instance.GetRawContentWriteStream()
public Stream GetRawContentWriteStream()

Return value

Type: System.IO.Stream

Remarks

You own the stream returned by GetRawContentWriteStream. You should dispose of it when you are finished with it to reclaim system resources.

No checks are performed on the data that is written by using the stream returned by GetRawContentWriteStream.

See also

Reference

MimePart class

MimePart members

Microsoft.Exchange.Data.Mime namespace