Parameters
- item
- The item to remove from the favorite collection. For example a folder connection or a toolbox.
var favorites = FavoritesManager.Current.GetFavorites(); foreach (var favorite in favorites) FavoritesManager.Current.RemoveFavorite(favorite.Item);
Target Platforms: Windows 11, Windows 10