ArcGIS Pro 2.9 API Reference Guide
RemoveFavorite Method

ArcGIS.Desktop.Core Namespace > FavoritesManager Class : RemoveFavorite Method
The item to remove from the favorite collection. For example a folder connection or a toolbox.
Removes an item from the favorites collection.
Syntax
public void RemoveFavorite( 
   Item item
)
Public Sub RemoveFavorite( _
   ByVal item As Item _
) 

Parameters

item
The item to remove from the favorite collection. For example a folder connection or a toolbox.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

FavoritesManager Class
FavoritesManager Members