Share via


IVsLiteTree.EnumOrderedListItems Method

Definition

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

public:
 int EnumOrderedListItems([Runtime::InteropServices::Out] System::UInt32 % pNextStartIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ % pptl, [Runtime::InteropServices::Out] System::UInt32 % pFirstRelIndex, [Runtime::InteropServices::Out] System::UInt32 % pLastRelIndex, [Runtime::InteropServices::Out] System::UInt32 % pLevel);
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);
public int EnumOrderedListItems (out uint pNextStartIndex, out Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList pptl, out uint pFirstRelIndex, out uint pLastRelIndex, out uint pLevel);
abstract member EnumOrderedListItems : uint32 * IVsLiteTreeList * uint32 * uint32 * uint32 -> int
Public Function EnumOrderedListItems (ByRef pNextStartIndex As UInteger, ByRef pptl As IVsLiteTreeList, ByRef pFirstRelIndex As UInteger, ByRef pLastRelIndex As UInteger, ByRef pLevel As UInteger) As Integer

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