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)


Function GetParentIndexAbsolute ( _
    AbsIndex As UInteger, _
    <OutAttribute> ByRef pParentIndex As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsLiteTree
Dim AbsIndex As UInteger
Dim pParentIndex As UInteger
Dim returnValue As Integer

returnValue = instance.GetParentIndexAbsolute(AbsIndex, _
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


  • AbsIndex
    Type: System.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: System.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: System.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.


COM Signature


From vsshell.idl:

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

.NET Framework Security

See Also


IVsLiteTree Interface

IVsLiteTree Members

Microsoft.VisualStudio.Shell.Interop Namespace