This documentation is archived and is not being maintained.
IVsTeamExplorer::AddToFavorites Method
Visual Studio 2013
Adds the specified hierarchy to the list of favorites.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Parameters
- hierarchy
- Type: Microsoft.VisualStudio.Shell.Interop::IVsUIHierarchy
The IVsUIHierarchy object representing the hierarchy to add to favorites.
- itemId
- Type: System::UInt32
The item ID of the hierarchy to add to favorites.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: