IVsLiteTree.EnumOrderedListItems Method

Definition

Enumerate the complete tree list a sub-tree at a time.

C++/WinRT
int EnumOrderedListItems([Runtime::InteropServices::Out] unsigned int & pNextStartIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList const & & pptl, [Runtime::InteropServices::Out] unsigned int & pFirstRelIndex, [Runtime::InteropServices::Out] unsigned int & pLastRelIndex, [Runtime::InteropServices::Out] unsigned int & pLevel);

Parameters

pNextStartIndex
UInt32

[in, out] Pointer to the index of the first item in the list. On return, index of the next item in the list.

pptl
IVsLiteTreeList

[out] Pointer to the IVsLiteTreeList for this segment of the tree.

pFirstRelIndex
UInt32

[out] Pointer to the relative index of the first item in the list.

pLastRelIndex
UInt32

[Out] Pointer to the relative index of the last item in the list.

pLevel
UInt32

[Out] Pointer to the current level within the tree.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

For more information about enumerating tree lists and their structure, see IVsLiteTreeList.

COM Signature

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::EnumOrderedListItems(  
   [in,out] ULONG *pNextStartIndex,   
   [out] IVsLiteTreeList **pptl,   
   [out] ULONG *pFirstRelIndex,   
   [out] ULONG *pLastRelIndex,   
   [out] ULONG *pLevel  
);  

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022