Share via


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
public bool TryGetContentReadStream (
    out Stream result
)
public:
bool TryGetContentReadStream (
    [OutAttribute] Stream^% result
)
public boolean TryGetContentReadStream (
    /** @attribute OutAttribute() */ /** @ref */ Stream result
)
JScript does not support passing value-type arguments by reference.

Parameters

  • result
    The stream from which the decoded part of the content can be read.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003