IDSRefProvider.SetType 方法

将节点的类型指定节点引用数据库对象的类型。

命名空间:  Microsoft.VisualStudio.Data.Interop
程序集:  Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)

语法

声明
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
)

参数

  • drnidCurr
    类型:System.IntPtr
    [in]类型将设置节点的 DSREFNODEID。

示例

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

.NET Framework 安全性

请参见

参考

IDSRefProvider 接口

Microsoft.VisualStudio.Data.Interop 命名空间

其他资源

数据设计器可扩展性 (DDEX) SDK