Attachment.TryGetContentReadStream Method
The TryGetContentReadStream method gets a readable stream that contains the contents of the attachment.
Namespace: Microsoft.Exchange.Data.Transport.Email
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public Function TryGetContentReadStream ( _
<OutAttribute> ByRef result As Stream _
) As Boolean
'Usage
Dim instance As Attachment
Dim result As Stream
Dim returnValue As Boolean
returnValue = instance.TryGetContentReadStream(result)
public bool TryGetContentReadStream(
out Stream result
)
Parameters
- result
Type: System.IO.Stream
The stream from which the decoded part of the content can be read.
Return Value
Type: System.Boolean
See Also