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
- uiWindow
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchyWindow
- singleHierarchy
Type: System.Boolean%
Return Value
Type: array<Microsoft.TeamFoundation.Common.SelectionPair[]
.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.