Click or drag to resize

ArcGISPortalGetFeaturedItemsAsync Method (CancellationToken)

Gets the featured items asynchronously. This method uses the FeaturedItemsGroupQuery and returns the corresponding collection of PortalItem objects within the matching group.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.5.0.0
Syntax
public Task<IEnumerable<PortalItem>> GetFeaturedItemsAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation if required.

Return Value

Type: TaskIEnumerablePortalItem
The task object representing the asynchronous search featured items operation. The value of the task result contains a collection of PortalItem objects.
Remarks
The FeaturedItemsGroupQuery is a readonly strings property in the PortalInfo.
See Also