Share via


DataViewHierarchyAccessor.GetChildSelectionTypes Method

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

'Declaration
Public Function GetChildSelectionTypes ( _
    itemId As Integer _
) As String()
public string[] GetChildSelectionTypes(
    int itemId
)
public:
array<String^>^ GetChildSelectionTypes(
    int itemId
)
member GetChildSelectionTypes : 
        itemId:int -> string[] 
public function GetChildSelectionTypes(
    itemId : int
) : String[]

Parameters

Return Value

Type: array<System.String[]
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.

.NET Framework Security

See Also

Reference

DataViewHierarchyAccessor Class

Microsoft.VisualStudio.Data Namespace