IVsLiteTree::GetParentIndexAbsolute Method (UInt32, UInt32)

 

Gets the next visible expanded list.

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

int GetParentIndexAbsolute(
	unsigned int AbsIndex,
	[OutAttribute] unsigned int% pParentIndex
)

Parameters

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 null 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.

[C++]

From vsshell.idl:

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