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
'宣言
Public Function GetSelectedItems As Integer()
'使用
Dim instance As DataViewHierarchyAccessor
Dim returnValue As Integer()
returnValue = instance.GetSelectedItems()
public int[] GetSelectedItems()
public:
array<int>^ GetSelectedItems()
public function GetSelectedItems() : int[]
Return Value
Type: []
Returns and integer array of item IDs.
Permissions
- 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.
See Also
Reference
DataViewHierarchyAccessor Class