Partager via


IDSRefConsumer.GetFirstChildNode, méthode

Récupère l'identificateur du premier nœud enfant dans le vecteur du parent des enfants d'un nœud parent spécifié.

Espace de noms :  Microsoft.VisualStudio.Data.Interop
Assembly :  Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)

Syntaxe

'Déclaration
Function GetFirstChildNode ( _
    drnidCurr As IntPtr _
) As IntPtr
IntPtr GetFirstChildNode(
    IntPtr drnidCurr
)
IntPtr GetFirstChildNode(
    [InAttribute] IntPtr drnidCurr
)
abstract GetFirstChildNode : 
        drnidCurr:IntPtr -> IntPtr 
function GetFirstChildNode(
    drnidCurr : IntPtr
) : IntPtr

Paramètres

  • drnidCurr
    Type : System.IntPtr
    [in] DSREFNODEID du nœud parent dont le premier nœud enfant doit être récupéré.

Valeur de retour

Type : System.IntPtr
Retourne NOERROR si l'opération a réussi.Sinon, il retourne un code non spécifié d'échec.

Exemples

IDSRefConsumer* m_srpCurrentDSRef;
DSREFNODEID idParent;
DSREFNODEID idCur;
m_srpCurrentDSRef->GetFirstChildNode(idParent, &idCur);

Sécurité .NET Framework

Voir aussi

Référence

IDSRefConsumer Interface

Microsoft.VisualStudio.Data.Interop, espace de noms