Share via


Attachment.GetContentReadStream Method

The GetContentReadStream method gets a readable stream that contains the contents of the attachment without content transfer encoding.

Namespace: Microsoft.Exchange.Data.Transport.Email
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

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

Remarks

The GetContentReadStream method automatically removes the content transfer encoding from the returned stream.

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