Partager via


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
public Stream GetRawContentWriteStream ()
public:
Stream^ GetRawContentWriteStream ()
public Stream GetRawContentWriteStream ()
public function GetRawContentWriteStream () : 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.

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