IVsLiteTree.EnumAbsoluteIndices Method

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)

Syntax

'Declaration
Function EnumAbsoluteIndices ( _
    pList As IVsLiteTreeList, _
    index As UInteger, _
    <OutAttribute> ByRef ppvNext As IntPtr, _
    <OutAttribute> ByRef pAbsIndex As UInteger _
) As Integer
'Usage
Dim instance As IVsLiteTree 
Dim pList As IVsLiteTreeList 
Dim index As UInteger 
Dim ppvNext As IntPtr 
Dim pAbsIndex As UInteger 
Dim returnValue As Integer 

returnValue = instance.EnumAbsoluteIndices(pList, _
    index, ppvNext, pAbsIndex)
int EnumAbsoluteIndices(
    IVsLiteTreeList pList,
    uint index,
    out IntPtr ppvNext,
    out uint pAbsIndex
)
int EnumAbsoluteIndices(
    [InAttribute] IVsLiteTreeList^ pList, 
    [InAttribute] unsigned int index, 
    [InAttribute] [OutAttribute] IntPtr% ppvNext, 
    [OutAttribute] unsigned int% pAbsIndex
)
function EnumAbsoluteIndices(
    pList : IVsLiteTreeList, 
    index : uint, 
    ppvNext : IntPtr, 
    pAbsIndex : uint
) : int

Parameters

  • 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.

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
);

.NET Framework Security

See Also

Reference

IVsLiteTree Interface

IVsLiteTree Members

Microsoft.VisualStudio.Shell.Interop Namespace