Partager via


IModelBus.CreateAdapter Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method 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.
Public method CreateAdapter(ModelBusReference, IServiceProvider) Attempts to create and return a new adapter instance for the supplied reference. Allows a service provider to be supplied.

Top

See Also

Reference

IModelBus Interface

Microsoft.VisualStudio.Modeling.Integration Namespace