Share via


MimePart.GetRawContentReadStream Method

The GetRawContentReadStream method returns a stream that can be used to read the encoded content.

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

Syntax

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

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

Return Value

Type: System.IO.Stream

Remarks

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