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
itemId
Type: System.Int32The item ID of a parent node.
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
- 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.