Method GetAttachmentsAsync
GetAttachmentsAsync(CancellationToken)
Fetches the attachments from the Feature, creates PopupAttachment objects from them, and populates Attachments. Attachments are not re-fetched if they have already been fetched.
Declaration
public async Task GetAttachmentsAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | A cancellation token that may be used to request cancellation. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous fetch operation. |
Remarks
If IsEvaluated is false, this method will have no effect.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.3 - 200.8 |
| .NET | 200.3 - 200.8 |
| .NET Windows | 200.3 - 200.8 |
| .NET Android | 200.3 - 200.8 |
| .NET iOS | 200.3 - 200.8 |
| .NET Framework | 200.3 - 200.8 |
| UWP | 200.3 - 200.8 |