IVsLiteTree::GetItemInfoAbsolute Method (UInt32, IVsLiteTreeList^, UInt32, UInt32)

 

Retrieves the parent list of a node.

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

int GetItemInfoAbsolute(
	unsigned int AbsIndex,
	[OutAttribute] IVsLiteTreeList^% pptl,
	[OutAttribute] unsigned int% pIndex,
	[OutAttribute] unsigned int% pLevel
)

Parameters

AbsIndex
Type: System::UInt32

[in] Integer containing the absolute index of the tree node.

pptl
Type: Microsoft.VisualStudio.Shell.Interop::IVsLiteTreeList^

[out] Pointer to the IVsLiteTreeList of the parent.

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.

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::GetItemInfoAbsolute(
   [in] ULONG AbsIndex, 
   [out] IVsLiteTreeList **pptl, 
   [out] ULONG *pIndex, 
   [out] ULONG *pLevel
);
Return to top
Show: