Partilhar via


IVsLiteTree.GetItemInfoAbsolute Method

Definition

Retrieves the parent list of a node.

public:
 int GetItemInfoAbsolute(System::UInt32 AbsIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ % pptl, [Runtime::InteropServices::Out] System::UInt32 % pIndex, [Runtime::InteropServices::Out] System::UInt32 % pLevel);
int GetItemInfoAbsolute(unsigned int AbsIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList const & & pptl, [Runtime::InteropServices::Out] unsigned int & pIndex, [Runtime::InteropServices::Out] unsigned int & pLevel);
public int GetItemInfoAbsolute (uint AbsIndex, out Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList pptl, out uint pIndex, out uint pLevel);
abstract member GetItemInfoAbsolute : uint32 * IVsLiteTreeList * uint32 * uint32 -> int
Public Function GetItemInfoAbsolute (AbsIndex As UInteger, ByRef pptl As IVsLiteTreeList, ByRef pIndex As UInteger, ByRef pLevel As UInteger) As Integer

Parameters

AbsIndex
UInt32

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

pptl
IVsLiteTreeList

[out] Pointer to the IVsLiteTreeList of the parent.

pIndex
UInt32

[out] Pointer to an integer containing the index.

pLevel
UInt32

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

Returns

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

Remarks

COM Signature

[C++]

From vsshell.idl:

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

Applies to