ArcGIS Pro 2.8 API Reference Guide
GetFavorite Method

ArcGIS.Desktop.Core Namespace > FavoritesManager Class : GetFavorite Method
The item to retrieve from the favorite collection.
Gets the item from the favorite collection.
Syntax
public Favorite GetFavorite( 
   Item item
)
Public Function GetFavorite( _
   ByVal item As Item _
) As Favorite

Parameters

item
The item to retrieve from the favorite collection.

Return Value

The favorite item or null if the item is not a part of the favorite collection.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

FavoritesManager Class
FavoritesManager Members