ModelingDocData.CreateObject(ILocalRegistry, Guid, Guid) 方法

定义

创建对象

protected:
 System::Object ^ CreateObject(Microsoft::VisualStudio::Shell::Interop::ILocalRegistry ^ localRegistry, Guid clsid, Guid typeId);
protected object CreateObject (Microsoft.VisualStudio.Shell.Interop.ILocalRegistry localRegistry, Guid clsid, Guid typeId);
member this.CreateObject : Microsoft.VisualStudio.Shell.Interop.ILocalRegistry * Guid * Guid -> obj
Protected Function CreateObject (localRegistry As ILocalRegistry, clsid As Guid, typeId As Guid) As Object

参数

localRegistry
ILocalRegistry

建立一个相对于本地 Visual Studio 注册表配置单元的本地注册的 COM 对象

clsid
Guid

GUID if 要创建的对象

typeId
Guid

GUID 与指定的 assotiated

返回

Object

一个对象。

适用于