Partilhar via


IVsLiteTree.GetParentIndexAbsolute(UInt32, UInt32) Method

Definition

Gets the next visible expanded list.

public:
 int GetParentIndexAbsolute(System::UInt32 AbsIndex, [Runtime::InteropServices::Out] System::UInt32 % pParentIndex);
int GetParentIndexAbsolute(unsigned int AbsIndex, [Runtime::InteropServices::Out] unsigned int & pParentIndex);
public int GetParentIndexAbsolute (uint AbsIndex, out uint pParentIndex);
abstract member GetParentIndexAbsolute : uint32 * uint32 -> int
Public Function GetParentIndexAbsolute (AbsIndex As UInteger, ByRef pParentIndex As UInteger) As Integer

Parameters

AbsIndex
UInt32

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

pParentIndex
UInt32

[out] Pointer to the index of the expanded list. Set to null if there are no more lists available.

Returns

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  
);  

Applies to