IVsLiteTree.GetOffsetFromParent(UInt32, UInt32, UInt32) Method

Definition

Returns the offset between the index of a parent node and a relative index.

public:
 int GetOffsetFromParent(System::UInt32 ParentAbsIndex, System::UInt32 RelIndex, [Runtime::InteropServices::Out] System::UInt32 % pOffset);
int GetOffsetFromParent(unsigned int ParentAbsIndex, unsigned int RelIndex, [Runtime::InteropServices::Out] unsigned int & pOffset);
public int GetOffsetFromParent (uint ParentAbsIndex, uint RelIndex, out uint pOffset);
abstract member GetOffsetFromParent : uint32 * uint32 * uint32 -> int
Public Function GetOffsetFromParent (ParentAbsIndex As UInteger, RelIndex As UInteger, ByRef pOffset As UInteger) As Integer

Parameters

ParentAbsIndex
UInt32

[in] Integer containing the absolute index of the parent.

RelIndex
UInt32

[in] Integer containing the relative index of a node in the tree list.

pOffset
UInt32

[out] Pointer to an integer containing the offset.

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::GetOffsetFromParent(  
   [in] ULONG ParentAbsIndex,   
   [in] ULONG RelIndex,   
   [out] ULONG *pOffset  
);  

Applies to