Share via


IDSRefConsumer.GetMoniker, méthode

Récupère le moniker du nœud spécifié.

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

Syntaxe

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

Paramètres

  • drnidCurr
    Type : IntPtr

    [in] DSREFNODEID du nœud dont le moniker doit être récupéré.

Valeur de retour

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

Notes

Bien que l'implémentation pour l'utilisation des monikers est fournie, les outils de base de données n'utilisent pas les monikers. L'utilisation des monikers avec les nœuds est autorisée à vos besoins.

Sécurité .NET Framework

Voir aussi

Référence

IDSRefConsumer Interface

Microsoft.VisualStudio.Data.Interop, espace de noms