Click or drag to resize

ArcGISFeatureUpdateAttachmentAsync Method

Asynchronously updates the specified Attachment of this feature.

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

Parameters

attachment
Type: Esri.ArcGISRuntime.DataAttachment
The Attachment of the attachment to update.
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: Task
A task that represents the asynchronous update attachment operation.
Exceptions
ExceptionCondition
ArgumentNullException
See Also