Click or drag to resize

PortalUserMovePortalItemAsync Method (PortalItem, PortalFolder, CancellationToken)

Moves the given portal item to the specified folder asynchronously. Available to the item's owner and the administrator of the organization to which the owner belongs.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.6.0.0
Syntax
C#
public Task MovePortalItemAsync(
	PortalItem portalItem,
	PortalFolder toFolder,
	CancellationToken cancellationToken
)

Parameters

portalItem
Type: Esri.ArcGISRuntime.PortalPortalItem
The portal item to move.
toFolder
Type: Esri.ArcGISRuntime.PortalPortalFolder
The folder to move the portal item to (null to move the item to the root folder).
cancellationToken
Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation if required.

Return Value

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