IVsLiteTreeList::GetExpandedList Method (UInt32, Int32, IVsLiteTreeList^)
Visual Studio 2015
Expands a tree list node.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetExpandedList( unsigned int index, [OutAttribute] int% pfCanRecurse, [OutAttribute] IVsLiteTreeList^% pptlNode )
Parameters
- index
-
Type:
System::UInt32
[in] Specifies the index of the child node of the current tree list to be expanded.
- pfCanRecurse
-
Type:
System::Int32
[out] Pointer to a flag indicating that the tree list can recurse.
- pptlNode
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsLiteTreeList^
[out] Pointer to the selected node's IVsLiteTreeList interface.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsLiteTreeList::GetExpandedList(
[in] ULONG Index,
[out] BOOL *pfCanRecurse,
[out] IVsLiteTreeList **pptlNode
);
On successful return, the tree list node will be expanded in the object browser window, showing all child nodes. This is one of two available mechanisms for expanding a list. The preferred mechanism is GetCategoryField.
Show: