Partager via


IModelBus.CreateAdapter Method

 

Attempts to create and return a new adapter instance. An adapter lets you open a specified model.

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

Overload List

Name Description
System_CAPS_pubmethod CreateAdapter(ModelBusReference)

Attempts to create and return a new adapter instance for the supplied reference, which can be a model reference or a model element reference.

System_CAPS_pubmethod CreateAdapter(ModelBusReference, IServiceProvider)

Attempts to create and return a new adapter instance for the supplied reference. Allows a service provider to be supplied.

Return Value

               

See Also

IModelBus Interface
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top