Attachments.GetAttachmentStreamAsync(String, String) Method

Definition

Get the given attachmentid view as a stream.

public System.Threading.Tasks.Task<System.IO.Stream> GetAttachmentStreamAsync (string attachmentId, string viewId = "original");
member this.GetAttachmentStreamAsync : string * string -> System.Threading.Tasks.Task<System.IO.Stream>
Public Function GetAttachmentStreamAsync (attachmentId As String, Optional viewId As String = "original") As Task(Of Stream)

Parameters

attachmentId
String

attachmentid.

viewId
String

view to get (default:original).

Returns

stream of attachment.

Applies to