Freigeben über


VsModelingAdapterManager.CreateModelingAdapterInstance-Methode

Imlementierungen sollten eine ModelingAdapter-Instanz bereitstellen, die die externe Weltsicht des Modells mithilfe des übergebenen DomainModelRoot-Elements bereitstellt.

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

Syntax

'Declaration
Protected MustOverride Function CreateModelingAdapterInstance ( _
    reference As ModelBusReference, _
    rootModelElement As ModelElement _
) As ModelingAdapter
protected abstract ModelingAdapter CreateModelingAdapterInstance(
    ModelBusReference reference,
    ModelElement rootModelElement
)

Parameter

Rückgabewert

Typ: Microsoft.VisualStudio.Modeling.Integration.ModelingAdapter

.NET Framework-Sicherheit

Siehe auch

Referenz

VsModelingAdapterManager Klasse

Microsoft.VisualStudio.Modeling.Integration.Shell-Namespace