This documentation is archived and is not being maintained.

IVsLiteTree.GetItemInfoAbsolute Method

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 (
	[InAttribute] uint AbsIndex,
	out IVsLiteTreeList pptl,
	out uint pIndex,
	out uint pLevel
)
int GetItemInfoAbsolute (
	/** @attribute InAttribute() */ UInt32 AbsIndex, 
	/** @attribute OutAttribute() */ /** @ref */ IVsLiteTreeList pptl, 
	/** @attribute OutAttribute() */ /** @ref */ UInt32 pIndex, 
	/** @attribute OutAttribute() */ /** @ref */ UInt32 pLevel
)
JScript does not support passing value-type arguments by reference.

Parameters

AbsIndex

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

pptl

[out] Pointer to the IVsLiteTreeList of the parent.

pIndex

[out] Pointer to an integer containing the index.

pLevel

[out] Pointer to an integer value containing a Level.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

[C++]

From vsshell.idl:

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