IVsLiteTreeList::LocateExpandedList Method (IVsLiteTreeList^, UInt32)
Visual Studio 2015
Returns a pointer to an index number of the specified tree list
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int LocateExpandedList( IVsLiteTreeList^ ExpandedList, [OutAttribute] unsigned int% iIndex )
Parameters
- ExpandedList
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsLiteTreeList^
[in] Pointer to the IVsLiteTreeList interface that specifies an expanded list.
- iIndex
-
Type:
System::UInt32
[out] Pointer to an integer containing the index of the specified tree list.
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::LocateExpandedList(
[in] IVsLiteTreeList* ExpandedList,
[out] ULONG *iIndex
);
The environment calls this method during a ReAlign command if the node's TF_NORELOCATE attribute is not set, as determined by a call to GetFlags. If the list cannot be located, ExpandedList will be discarded.
Show: