GraphClient.GetAttachmentAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 8.0.9673)
GetAttachmentAsync(GraphAttachmentId)
Gets an attachment identified by its ID.
Declaration
public Task<Attachment> GetAttachmentAsync(GraphAttachmentId id)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphAttachmentId | id | ID of an attachment to get. |
Returns
| Type | Description |
|---|---|
| Task<Attachment> | Attachment object if the attachment is found; null reference (Nothing in VB.NET) otherwise. |
Examples
See GetAttachment code example on product pages.