ModelingDocData.CreateObject 方法

创建对象

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

语法

声明
Protected Function CreateObject ( _
    localRegistry As ILocalRegistry, _
    clsid As Guid, _
    typeId As Guid _
) As Object
protected Object CreateObject(
    ILocalRegistry localRegistry,
    Guid clsid,
    Guid typeId
)

参数

  • clsid
    类型:System.Guid
    要创建的对象的 GUID
  • typeId
    类型:System.Guid
    GUID assotiated 使用指定的 System.Type

返回值

类型:System.Object

.NET Framework 安全性

请参见

参考

ModelingDocData 类

Microsoft.VisualStudio.Modeling.Shell 命名空间