Freigeben über


IDSRefProvider.SetType-Methode

Legt den Typ eines Knotens fest, um den Typ des Datenbankobjekts anzugeben, den der Knoten verweist.

Namespace:  Microsoft.VisualStudio.Data.Interop
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Sub SetType ( _
    drnidCurr As IntPtr, _
    grfType As __DSREFTYPE _
)
void SetType(
    IntPtr drnidCurr,
    __DSREFTYPE grfType
)
void SetType(
    [InAttribute] IntPtr drnidCurr, 
    [InAttribute] __DSREFTYPE grfType
)
abstract SetType : 
        drnidCurr:IntPtr * 
        grfType:__DSREFTYPE -> unit
function SetType(
    drnidCurr : IntPtr, 
    grfType : __DSREFTYPE
)

Parameter

  • drnidCurr
    Typ: IntPtr

    [in] DSREFNODEID des Knotens, dessen Typ festgelegt werden soll.

Beispiele

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

.NET Framework-Sicherheit

Siehe auch

Referenz

IDSRefProvider Schnittstelle

Microsoft.VisualStudio.Data.Interop-Namespace

Weitere Ressourcen

Bezugspunkt-Designer-Erweiterbarkeit (SDK) DDEX