IVsLiteTree.GetOffsetFromParent(UInt32, UInt32, UInt32) Méthode

Définition

Retourne le décalage entre l'index d'un nœud parent et l'index relatif.

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

Paramètres

ParentAbsIndex
UInt32

[in] Entier contenant l'index absolu du parent.

RelIndex
UInt32

[in] Entier contenant l'index relatif d'un nœud dans la liste d'arborescence.

pOffset
UInt32

[out] Pointeur vers un entier contenant l'offset.

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Remarques

Signature COM

[C++]

À partir de vsshell. idl :

HRESULT IVsLiteTree::GetOffsetFromParent(  
   [in] ULONG ParentAbsIndex,   
   [in] ULONG RelIndex,   
   [out] ULONG *pOffset  
);  

S’applique à