Udostępnij za pośrednictwem


Metoda ModelingDocData.CreateObject —

Tworzy obiekt

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Shell
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Składnia

'Deklaracja
Protected Function CreateObject ( _
    localRegistry As ILocalRegistry, _
    clsid As Guid, _
    typeId As Guid _
) As Object
protected Object CreateObject(
    ILocalRegistry localRegistry,
    Guid clsid,
    Guid typeId
)

Parametry

  • clsid
    Typ: System.Guid
    Identyfikator GUID obiektu do utworzenia
  • typeId
    Typ: System.Guid
    Identyfikator GUID assotiated z określonym System.Type

Wartość zwracana

Typ: System.Object

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ModelingDocData Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Shell