public Favorite AddFavorite( Item item, bool addToAllNewProjects )
Public Overloads Function AddFavorite( _ ByVal item As Item, _ ByVal addToAllNewProjects As Boolean _ ) As Favorite
Parameters
- item
- The item to add to the favorite collection. For example a folder connection or a toolbox.
- addToAllNewProjects
- Is the new favorite to be added to all new projects.
Return Value
The favorite item. Null if the item cannot be added as a favorite.