IDSRefProvider.SetType, méthode

Définit le type d'un nœud pour spécifier le type d'objet de base de données que le nœud référence.

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

Syntaxe

'Déclaration
Sub SetType ( _
    drnidCurr As IntPtr, _
    grfType As __DSREFTYPE _
)
void SetType(
    IntPtr drnidCurr,
    __DSREFTYPE grfType
)
void SetType(
    IntPtr drnidCurr, 
    __DSREFTYPE grfType
)
abstract SetType : 
        drnidCurr:IntPtr * 
        grfType:__DSREFTYPE -> unit
function SetType(
    drnidCurr : IntPtr, 
    grfType : __DSREFTYPE
)

Paramètres

  • drnidCurr
    Type : IntPtr

    DSREFNODEID du nœud dont le type doit être défini.

Exemples

IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
DSREFTYPE grfDSRefType;
pIDSRefProvider->SetType(drnid, grfDSRefType);

Sécurité .NET Framework

Voir aussi

Référence

IDSRefProvider Interface

Microsoft.VisualStudio.Data.Services.SupportEntities.Interop, espace de noms

Autres ressources

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