Export (0) Print
Expand All

IVsLiteTree.EnumOrderedListItems Method

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 (
	[InAttribute] out uint pNextStartIndex,
	out IVsLiteTreeList pptl,
	out uint pFirstRelIndex,
	out uint pLastRelIndex,
	out uint pLevel
int EnumOrderedListItems (
	/** @attribute InAttribute() */ /** @attribute OutAttribute() */ /** @ref */ UInt32 pNextStartIndex, 
	/** @attribute OutAttribute() */ /** @ref */ IVsLiteTreeList pptl, 
	/** @attribute OutAttribute() */ /** @ref */ UInt32 pFirstRelIndex, 
	/** @attribute OutAttribute() */ /** @ref */ UInt32 pLastRelIndex, 
	/** @attribute OutAttribute() */ /** @ref */ UInt32 pLevel
JScript does not support passing value-type arguments by reference.



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


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


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


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


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

Return Value

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.

COM Signature


From vsshell.idl:

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

Community Additions

© 2015 Microsoft