Click or drag to resize

PortalUserGetContentAsync Method (String, CancellationToken)

Gets portal items stored in the specified folder belonging to this user.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.7.0.0
Syntax
C#
public Task<IEnumerable<PortalItem>> GetContentAsync(
	string folderId,
	CancellationToken cancellationToken
)

Parameters

folderId
Type: SystemString
The Id of the folder for which to get content.
cancellationToken
Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation if required.

Return Value

Type: TaskIEnumerablePortalItem
The task object representing the asynchronous get items operation. The value of the task result contains a collection of PortalItem objects.
See Also