Compartilhar via


MimePart.GetContentReadStream Method

The GetContentReadStream method returns a stream that can be used to access the content of this MimePart object.

Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Function GetContentReadStream As Stream
public Stream GetContentReadStream ()
public:
Stream^ GetContentReadStream ()
public Stream GetContentReadStream ()
public function GetContentReadStream () : Stream

Remarks

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

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