Click or drag to resize

PortalItemUpdateDataAsync Method (String, CancellationToken)

Updates the JSON data for this portal item on the portal asynchronously. This call is available to the item owner and the administrator of the organization.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.6.0.0
Syntax
C#
public Task UpdateDataAsync(
	string json,
	CancellationToken cancellationToken
)

Parameters

json
Type: SystemString
JSON content of the portal item.
cancellationToken
Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation if required.

Return Value

Type: Task
A task that represents the asynchronous update operation.
See Also