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.

See also

Reference

MimePart class

MimePart members

Microsoft.Exchange.Data.Mime namespace