ArcGIS Pro 2.9 API Reference Guide
CanAddAsFavorite Method

ArcGIS.Desktop.Core Namespace > FavoritesManager Class : CanAddAsFavorite Method
The item to be checked to see if it's a favorite candidate.
Gets whether the item can be added to the favorites collection.
Syntax
public bool CanAddAsFavorite( 
   Item item
)
Public Function CanAddAsFavorite( _
   ByVal item As Item _
) As Boolean

Parameters

item
The item to be checked to see if it's a favorite candidate.

Return Value

True if the item can be made a favorite. False otherwise
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

FavoritesManager Class
FavoritesManager Members