Freigeben über


ModelingDocData.CreateObject-Methode

Erstellt ein Objekt.

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
)

Parameter

  • clsid
    Typ: System.Guid
    GUID des zu erstellenden Objekts.
  • typeId
    Typ: System.Guid
    GUID in Verbindung mit angegebenem System.Type

Rückgabewert

Typ: System.Object

.NET Framework-Sicherheit

Siehe auch

Referenz

ModelingDocData Klasse

Microsoft.VisualStudio.Modeling.Shell-Namespace