Partager via


VsModelingAdapterManager.CreateModelingAdapterInstance Method

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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.10.0.dll)

Syntax

'Déclaration
Protected MustOverride Function CreateModelingAdapterInstance ( _
    reference As ModelBusReference, _
    rootModelElement As ModelElement _
) As ModelingAdapter
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 abstract function CreateModelingAdapterInstance(
    reference : ModelBusReference, 
    rootModelElement : ModelElement
) : ModelingAdapter

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelingAdapter

.NET Framework Security

See Also

Reference

VsModelingAdapterManager Class

Microsoft.VisualStudio.Modeling.Integration.Shell Namespace