Partager via


DataViewHierarchyAccessor.GetSelectedItems Method

Retrieves an integer array representing item IDs for currently selected nodes in the tree.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Function GetSelectedItems As Integer()
public int[] GetSelectedItems()
public:
array<int>^ GetSelectedItems()
member GetSelectedItems : unit -> int[] 
public function GetSelectedItems() : int[]

Return Value

Type: array<System.Int32[]
Returns and integer array of item IDs.

.NET Framework Security

See Also

Reference

DataViewHierarchyAccessor Class

Microsoft.VisualStudio.Data Namespace