Share via


MimePart.GetContentReadStream method

The GetContentReadStream method returns a stream that can be used to access the content of this MimePart object.

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

Syntax

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

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

Return value

Type: System.IO.Stream

Remarks

You own the stream returned by GetContentReadStream and 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