ModelBusAdapterManager::CreateAdapter Method (ModelBusReference^)

 

Create a ModelBusAdapter wrapping the specified model. Throws an exception if the ModelBusAdapter cannot be created.

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

public:
ModelBusAdapter^ CreateAdapter(
	ModelBusReference^ reference
)

Parameters

reference
Type: Microsoft.VisualStudio.Modeling.Integration::ModelBusReference^

Reference to the model that the adapter should wrap.

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration::ModelBusAdapter^

The created ModelBusAdapter instance.

Return to top
Show: