Share via


Body.GetContentReadStream method

The GetContentReadStream method gets a readable stream that contains the contents of the body 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
'Usage
Dim instance As Body
Dim returnValue As Stream

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

Return value

Type: System.IO.Stream
The GetContentReadStream method automatically removes the content transfer encoding from the returned stream.

See also

Reference

Body class

Body members

Microsoft.Exchange.Data.Transport.Email namespace