Click or drag to resize

PortalUserGetFavoritesStatusAsync Method (PortalItem)

Determines whether the given item is in the user's favorites group.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.7.0.0
Syntax
C#
public Task<bool> GetFavoritesStatusAsync(
	PortalItem portalItem
)

Parameters

portalItem
Type: Esri.ArcGISRuntime.PortalPortalItem
The portal item to check.

Return Value

Type: TaskBoolean
A task that represents the asynchronous favorites check. The task result contains true if the portal item is in the favorites group, false otherwise.
See Also