Attachment.GetContentReadStream method
The GetContentReadStream method gets a readable stream that contains the contents of the attachment 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 Attachment
Dim returnValue As Stream
returnValue = instance.GetContentReadStream()
public Stream GetContentReadStream()
Return value
Type: System.IO.Stream
Remarks
The GetContentReadStream method automatically removes the content transfer encoding from the returned stream.