IVsLiteTree::EnumAbsoluteIndices Method (IVsLiteTreeList^, UInt32, IntPtr, UInt32)

 

Enumerates the items in a tree list beginning at a particular index.

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

int EnumAbsoluteIndices(
	IVsLiteTreeList^ pList,
	unsigned int index,
	IntPtr% ppvNext,
	[OutAttribute] unsigned int% pAbsIndex
)

Parameters

pList
Type: Microsoft.VisualStudio.Shell.Interop::IVsLiteTreeList^

[in] Pointer to the IVsLiteTreeList.

index
Type: System::UInt32

[in] Starting index.

ppvNext
Type: System::IntPtr

[in, out] Pointer to the next item in the list. Use NULL if you only want to use the absolute index.

pAbsIndex
Type: System::UInt32

[out] The absolute index of the item.

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::EnumAbsoluteIndices(
   [in] IVsLiteTreeList *pList,
   [in] ULONG Index,
   [in,out] void** ppvNext,
   [out] ULONG *pAbsIndex
);
Return to top
Show: