Share via


ModelingDocData.CreateObject Method

Creates an object

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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

  • clsid
    Type: Guid

    GUID of object to be created

  • typeId
    Type: Guid

    GUID assotiated with specified System.Type

Return Value

Type: Object

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace