ArcGIS Pro 2.8 API Reference Guide
AddFavorite Method

ArcGIS.Desktop.Core Namespace > FavoritesManager Class : AddFavorite Method
Overload List
OverloadDescription
Adds an item to the favorites collection. The item is added to the collection with the Favorite.IsAddedToAllNewProjects value set to false.  
Adds an item to the favorites collection.  
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

FavoritesManager Class
FavoritesManager Members