Bagikan melalui


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

Return Value

Type: Microsoft.VisualStudio.TeamFoundation.ProjectContext

.NET Framework Security

See Also

Reference

BasicHelper Class

GetProjectContext Overload

Microsoft.TeamFoundation.Common Namespace