Click or drag to resize

PortalUserDeleteFolderAsync Method (PortalFolder, CancellationToken)

Deletes the specified folder from the portal. The folder must belong to this user. Deleting a folder also deletes all items that it contains.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.6.0.0
Syntax
C#
public Task DeleteFolderAsync(
	PortalFolder folder,
	CancellationToken cancellationToken
)

Parameters

folder
Type: Esri.ArcGISRuntime.PortalPortalFolder
The folder to delete.
cancellationToken
Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation if required.

Return Value

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