Partager via


VsModelingAdapterManager.CreateModelingAdapterInstance Method (ModelBusReference, ModelElement)

 

Imlementations should provide a ModelingAdapter instance that serves the Model's external world view using the DomainModelRoot element passed.

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

protected abstract ModelingAdapter CreateModelingAdapterInstance(
    ModelBusReference reference,
    ModelElement rootModelElement
)
protected:
virtual ModelingAdapter^ CreateModelingAdapterInstance(
    ModelBusReference^ reference,
    ModelElement^ rootModelElement
) abstract
abstract CreateModelingAdapterInstance : 
        reference:ModelBusReference *
        rootModelElement:ModelElement -> ModelingAdapter
Protected MustOverride Function CreateModelingAdapterInstance (
    reference As ModelBusReference,
    rootModelElement As ModelElement
) As ModelingAdapter

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelingAdapter

See Also

VsModelingAdapterManager Class
Microsoft.VisualStudio.Modeling.Integration.Shell Namespace

Return to top