BasicHelper.GetProjectContext Method (IVsUIHierarchy, UInt32)
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function GetProjectContext ( _
hierarchy As IVsUIHierarchy, _
itemId As UInteger _
) As ProjectContext
public ProjectContext GetProjectContext(
IVsUIHierarchy hierarchy,
uint itemId
)
public:
ProjectContext^ GetProjectContext(
IVsUIHierarchy^ hierarchy,
unsigned int itemId
)
member GetProjectContext :
hierarchy:IVsUIHierarchy *
itemId:uint32 -> ProjectContext
public function GetProjectContext(
hierarchy : IVsUIHierarchy,
itemId : uint
) : ProjectContext
Parameters
- hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy
- itemId
Type: System.UInt32
Return Value
Type: Microsoft.VisualStudio.TeamFoundation.ProjectContext
.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.