Share via


IVsLiteTree.GetItemInfoAbsolute Method

Retrieves the parent list of a node.

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

Syntax

'Declaration
Function GetItemInfoAbsolute ( _
    AbsIndex As UInteger, _
    <OutAttribute> ByRef pptl As IVsLiteTreeList, _
    <OutAttribute> ByRef pIndex As UInteger, _
    <OutAttribute> ByRef pLevel As UInteger _
) As Integer
int GetItemInfoAbsolute(
    uint AbsIndex,
    out IVsLiteTreeList pptl,
    out uint pIndex,
    out uint pLevel
)
int GetItemInfoAbsolute(
    [InAttribute] unsigned int AbsIndex, 
    [OutAttribute] IVsLiteTreeList^% pptl, 
    [OutAttribute] unsigned int% pIndex, 
    [OutAttribute] unsigned int% pLevel
)
abstract GetItemInfoAbsolute : 
        AbsIndex:uint32 * 
        pptl:IVsLiteTreeList byref * 
        pIndex:uint32 byref * 
        pLevel:uint32 byref -> int
function GetItemInfoAbsolute(
    AbsIndex : uint, 
    pptl : IVsLiteTreeList, 
    pIndex : uint, 
    pLevel : uint
) : int

Parameters

  • AbsIndex
    Type: System.UInt32

    [in] Integer containing the absolute index of the tree node.

  • pIndex
    Type: System.UInt32%

    [out] Pointer to an integer containing the index.

  • pLevel
    Type: System.UInt32%

    [out] Pointer to an integer value containing a Level.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::GetItemInfoAbsolute(
   [in] ULONG AbsIndex, 
   [out] IVsLiteTreeList **pptl, 
   [out] ULONG *pIndex, 
   [out] ULONG *pLevel
);

.NET Framework Security

See Also

Reference

IVsLiteTree Interface

Microsoft.VisualStudio.Shell.Interop Namespace