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
'Declaração
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
- reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
- rootModelElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.ModelingAdapter
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.