IVsTeamExplorer.AddToFavorites Method
Adds the specified hierarchy to the list of favorites.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
‘선언
Sub AddToFavorites ( _
hierarchy As IVsUIHierarchy, _
itemId As UInteger _
)
void AddToFavorites(
IVsUIHierarchy hierarchy,
uint itemId
)
void AddToFavorites(
IVsUIHierarchy^ hierarchy,
unsigned int itemId
)
abstract AddToFavorites :
hierarchy:IVsUIHierarchy *
itemId:uint32 -> unit
function AddToFavorites(
hierarchy : IVsUIHierarchy,
itemId : uint
)
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.
.NET Framework Security
- 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.