Retrieves an array of the object types enumerated when a parent node is expanded to show its child nodes.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public Function GetChildSelectionTypes ( _
itemId As Integer _
) As String()
'使用
Dim instance As DataViewHierarchyAccessor
Dim itemId As Integer
Dim returnValue As String()
returnValue = instance.GetChildSelectionTypes(itemId)
public string[] GetChildSelectionTypes(
int itemId
)
public:
array<String^>^ GetChildSelectionTypes(
int itemId
)
public function GetChildSelectionTypes(
itemId : int
) : String[]
Parameters
itemId
Type: System.Int32The item ID of a parent node.
Return Value
Type: []
Returns an array of string objects enumerated when parent node is expanded.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The specified itemId is invalid. |
Remarks
This method is helps provide context on where an item ID is located in the tree.
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