次の方法で共有


IVsLiteTree.EnumAbsoluteIndices Method

Definition

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

public:
 int EnumAbsoluteIndices(Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ pList, System::UInt32 index, [Runtime::InteropServices::Out] IntPtr % ppvNext, [Runtime::InteropServices::Out] System::UInt32 % pAbsIndex);
public int EnumAbsoluteIndices (Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList pList, uint index, out IntPtr ppvNext, out uint pAbsIndex);
abstract member EnumAbsoluteIndices : Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList * uint32 * nativeint * uint32 -> int
Public Function EnumAbsoluteIndices (pList As IVsLiteTreeList, index As UInteger, ByRef ppvNext As IntPtr, ByRef pAbsIndex As UInteger) As Integer

Parameters

pList
IVsLiteTreeList

[in] Pointer to the IVsLiteTreeList.

index
UInt32

[in] Starting index.

ppvNext
IntPtr

nativeint

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

pAbsIndex
UInt32

[out] The absolute index of the item.

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

Applies to