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)
Syntax
'Déclaration
Function GetItemInfoAbsolute ( _
AbsIndex As UInteger, _
<OutAttribute> ByRef pptl As IVsLiteTreeList, _
<OutAttribute> ByRef pIndex As UInteger, _
<OutAttribute> ByRef pLevel As UInteger _
) As Integer
'Utilisation
Dim instance As IVsLiteTree
Dim AbsIndex As UInteger
Dim pptl As IVsLiteTreeList
Dim pIndex As UInteger
Dim pLevel As UInteger
Dim returnValue As Integer
returnValue = instance.GetItemInfoAbsolute(AbsIndex, _
pptl, pIndex, pLevel)
int GetItemInfoAbsolute(
uint AbsIndex,
out IVsLiteTreeList pptl,
out uint pIndex,
out uint pLevel
)
int GetItemInfoAbsolute(
[InAttribute] unsigned int AbsIndex,
[OutAttribute] IVsLiteTreeList^% pptl,
[OutAttribute] unsigned int% pIndex,
[OutAttribute] unsigned int% pLevel
)
abstract GetItemInfoAbsolute :
AbsIndex:uint32 *
pptl:IVsLiteTreeList byref *
pIndex:uint32 byref *
pLevel:uint32 byref -> int
function GetItemInfoAbsolute(
AbsIndex : uint,
pptl : IVsLiteTreeList,
pIndex : uint,
pLevel : uint
) : int
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.
Remarks
COM Signature
[C++]
From vsshell.idl:
HRESULT IVsLiteTree::GetItemInfoAbsolute(
[in] ULONG AbsIndex,
[out] IVsLiteTreeList **pptl,
[out] ULONG *pIndex,
[out] ULONG *pLevel
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.