Share via


IDSRefProvider.CreateNextSiblingNode, méthode

Crée un autre nœud frère à un nœud enfant.

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

Syntaxe

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

Paramètres

  • drnidCurr
    Type : IntPtr

    [in] DSREFNODEID du nœud enfant auquel le nœud frère doit être créé.

Valeur de retour

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

Notes

La méthode d' CreateNextSiblingNode exécute une implémentation de liste pour les nœuds enfants, le nœud créer suivra le nœud d' drnidCurr dans la liste.

Exemples

IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
DSREFNODEID drnidChild;
pIDSRefProvider->CreateNextSiblingNode(drnidChild, &drnid);

Sécurité .NET Framework

Voir aussi

Référence

IDSRefProvider Interface

Microsoft.VisualStudio.Data.Interop, espace de noms

Autres ressources

Extensibilité (DDEX) du concepteur Kit de développement logiciel de données