ModelingDocData.CreateObject Method

Creates an object

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

声明
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

  • typeId
    Type: System.Guid
    GUID assotiated with specified System.Type

Return Value

Type: System.Object

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace