Condividi tramite


BasicHelper.GetCurrentSelection Method (IVsUIHierarchyWindow, Boolean%)

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

Syntax

'Dichiarazione
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

GetCurrentSelection Overload

Microsoft.TeamFoundation.Common Namespace