Share via


MimeReader.GetRawContentReadStream Method

The GetRawContentReadStream method returns a stream that contains the content of the current part body.

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 MimeReader
Dim returnValue As Stream

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

Return Value

Type: System.IO.Stream

Remarks

When it is called immediately after the EnableReadingUnparsedHeaders method, the GetRawContentReadStream method returns a stream that contains the unparsed headers in the current part, and all unparsed nested parts inside the current part.