Click or drag to resize

ArcGISPortalGetHomePageFeaturedContentAsync Method (CancellationToken)

Searches the home page featured content asynchronously. This method uses the HomePageFeaturedContentGroupQuery and returns the corresponding PortalItem collection.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.7.0.0
Syntax
C#
public Task<IEnumerable<PortalItem>> GetHomePageFeaturedContentAsync(
	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 home page featured content operation. The value of the task result contains a PortalItem collection.
Remarks
The HomePageFeaturedContentGroupQuery is a read-only strings property in the PortalInfo.
See Also