IVsLiteTree::EnumOrderedListItems Method (UInt32, IVsLiteTreeList^, UInt32, UInt32, UInt32)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int EnumOrderedListItems(
	unsigned int% pNextStartIndex,
	[OutAttribute] IVsLiteTreeList^% pptl,
	[OutAttribute] unsigned int% pFirstRelIndex,
	[OutAttribute] unsigned int% pLastRelIndex,
	[OutAttribute] unsigned int% pLevel
)

Parameters

pNextStartIndex
Type: System::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
Type: Microsoft.VisualStudio.Shell.Interop::IVsLiteTreeList^

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

pFirstRelIndex
Type: System::UInt32

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

pLastRelIndex
Type: System::UInt32

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

pLevel
Type: System::UInt32

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

Return Value

Type: System::Int32

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

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

[C++]

From vsshell.idl:

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