Click or drag to resize

PortalUserMovePortalItemsAsync Method (IEnumerablePortalItem, PortalFolder, CancellationToken)

Moves the given portal items 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<IReadOnlyDictionary<string, string>> MovePortalItemsAsync(
	IEnumerable<PortalItem> portalItems,
	PortalFolder toFolder,
	CancellationToken cancellationToken
)

Parameters

portalItems
Type: System.Collections.GenericIEnumerablePortalItem
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: TaskIReadOnlyDictionaryString, String
A task that represents the asynchronous move operation. If errors are encountered, the Task.Result property contains a dictionary of error messages keyed by item id.
See Also