다음을 통해 공유


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
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
)
abstract EnumAbsoluteIndices : 
        pList:IVsLiteTreeList * 
        index:uint32 * 
        ppvNext:IntPtr byref * 
        pAbsIndex:uint32 byref -> int
function EnumAbsoluteIndices(
    pList : IVsLiteTreeList, 
    index : uint, 
    ppvNext : IntPtr, 
    pAbsIndex : uint
) : int

Parameters

  • index
    Type: UInt32

    [in] Starting index.

  • ppvNext
    Type: IntPtr%

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

  • pAbsIndex
    Type: UInt32%

    [out] The absolute index of the item.

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace