Share via


BasicHelper.GetCurrentSelection Method

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Shared Function GetCurrentSelection ( _
    uiWindow As IVsUIHierarchyWindow, _
    <OutAttribute> ByRef singleHierarchy As Boolean _
) As SelectionPair()
public static SelectionPair[] GetCurrentSelection(
    IVsUIHierarchyWindow uiWindow,
    out bool singleHierarchy
)
public:
static array<SelectionPair>^ GetCurrentSelection(
    IVsUIHierarchyWindow^ uiWindow, 
    [OutAttribute] bool% singleHierarchy
)
static member GetCurrentSelection : 
        uiWindow:IVsUIHierarchyWindow * 
        singleHierarchy:bool byref -> SelectionPair[] 
public static function GetCurrentSelection(
    uiWindow : IVsUIHierarchyWindow, 
    singleHierarchy : boolean
) : SelectionPair[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.Common.SelectionPair[]

.NET Framework Security

See Also

Reference

BasicHelper Class

Microsoft.TeamFoundation.Common Namespace