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

'宣言
Function GetItemInfoAbsolute ( _
    AbsIndex As UInteger, _
    <OutAttribute> ByRef pptl As IVsLiteTreeList, _
    <OutAttribute> ByRef pIndex As UInteger, _
    <OutAttribute> ByRef pLevel As UInteger _
) As Integer
'使用
Dim instance As IVsLiteTree
Dim AbsIndex As UInteger
Dim pptl As IVsLiteTreeList
Dim pIndex As UInteger
Dim pLevel As UInteger
Dim returnValue As Integer

returnValue = instance.GetItemInfoAbsolute(AbsIndex, _
    pptl, pIndex, pLevel)
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
)
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
);

Permissions

See Also

Reference

IVsLiteTree Interface

IVsLiteTree Members

Microsoft.VisualStudio.Shell.Interop Namespace