Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected Function CreateObject ( _
localRegistry As ILocalRegistry, _
clsid As Guid, _
typeId As Guid _
) As Object
'使用
Dim localRegistry As ILocalRegistry
Dim clsid As Guid
Dim typeId As Guid
Dim returnValue As Object
returnValue = Me.CreateObject(localRegistry, _
clsid, typeId)
protected Object CreateObject(
ILocalRegistry localRegistry,
Guid clsid,
Guid typeId
)
protected:
Object^ CreateObject(
ILocalRegistry^ localRegistry,
Guid clsid,
Guid typeId
)
protected function CreateObject(
localRegistry : ILocalRegistry,
clsid : Guid,
typeId : Guid
) : Object
Parameters
- localRegistry
Type: Microsoft.VisualStudio.Shell.Interop.ILocalRegistry
- clsid
Type: System.Guid
- typeId
Type: System.Guid
Return Value
Type: System.Object
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.