IVsLiteTree::GetOffsetFromParent Method (UInt32, UInt32, UInt32)
Visual Studio 2015
Returns the offset between the index of a parent node and a relative index.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetOffsetFromParent( unsigned int ParentAbsIndex, unsigned int RelIndex, [OutAttribute] unsigned int% pOffset )
Parameters
- ParentAbsIndex
-
Type:
System::UInt32
[in] Integer containing the absolute index of the parent.
- RelIndex
-
Type:
System::UInt32
[in] Integer containing the relative index of a node in the tree list.
- pOffset
-
Type:
System::UInt32
[out] Pointer to an integer containing the offset.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
[C++]
From vsshell.idl:
HRESULT IVsLiteTree::GetOffsetFromParent( [in] ULONG ParentAbsIndex, [in] ULONG RelIndex, [out] ULONG *pOffset );
Show: