ModelingDocData.CreateObject Method
Creates an object
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Function CreateObject ( _
localRegistry As ILocalRegistry, _
clsid As Guid, _
typeId As Guid _
) As Object
protected Object CreateObject(
ILocalRegistry localRegistry,
Guid clsid,
Guid typeId
)
protected:
Object^ CreateObject(
ILocalRegistry^ localRegistry,
Guid clsid,
Guid typeId
)
member CreateObject :
localRegistry:ILocalRegistry *
clsid:Guid *
typeId:Guid -> Object
protected function CreateObject(
localRegistry : ILocalRegistry,
clsid : Guid,
typeId : Guid
) : Object
Parameters
localRegistry
Type: Microsoft.VisualStudio.Shell.Interop.ILocalRegistryEstablishes a locally-registered COM object relative to the local Visual Studio registry hive
clsid
Type: System.GuidGUID of object to be created
typeId
Type: System.GuidGUID assotiated with specified System.Type
Return Value
Type: System.Object
.NET Framework Security
- 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.