Attachments.GetAttachmentStreamAsync(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.