다음을 통해 공유


IVsLiteTree.GetParentIndexAbsolute Method

Gets the next visible expanded list.

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

Syntax

'Declaration
Function GetParentIndexAbsolute ( _
    AbsIndex As UInteger, _
    <OutAttribute> ByRef pParentIndex As UInteger _
) As Integer
int GetParentIndexAbsolute(
    uint AbsIndex,
    out uint pParentIndex
)
int GetParentIndexAbsolute(
    [InAttribute] unsigned int AbsIndex, 
    [OutAttribute] unsigned int% pParentIndex
)
abstract GetParentIndexAbsolute : 
        AbsIndex:uint32 * 
        pParentIndex:uint32 byref -> int
function GetParentIndexAbsolute(
    AbsIndex : uint, 
    pParentIndex : uint
) : int

Parameters

  • AbsIndex
    Type: UInt32

    [in] Integer containing the absolute index of the node. Use -1 on the first call or the index of an expanded node.

  • pParentIndex
    Type: UInt32%

    [out] Pointer to the index of the expanded list. Set to nulla null reference (Nothing in Visual Basic) if there are no more lists available.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. Returns S_FALSE if there are no more lists. Returns E_FAIL if the index is out of range.

Remarks

COM Signature

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::GetParentIndexAbsolute(
   [in] ULONG AbsIndex, 
   [out] ULONG* pParentIndex
);

.NET Framework Security

See Also

Reference

IVsLiteTree Interface

Microsoft.VisualStudio.Shell.Interop Namespace