Click or drag to resize

ArcGISFeatureAddAttachmentAsync Method

Asynchronously adds a new attachment to this feature.

Namespace:  Esri.ArcGISRuntime.Data
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.6.0.0
Syntax
C#
public Task<Attachment> AddAttachmentAsync(
	string name,
	string contentType,
	byte[] data
)

Parameters

name
Type: SystemString
The name for the attachment.
contentType
Type: SystemString
The content type for the attachment.
data
Type: SystemByte
The data for the attachment.

Return Value

Type: TaskAttachment
A task that represents the asynchronous add attachment operation. The value of the task result is an Attachment object.
See Also