Partager via


ModelBusAdapterManager.GetView Method (ModelBusAdapter, ModelBusReference)

 

Obtains the View, for example a diagram, associated with the ModelBusAdapter passed as a parameter.

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

Syntax

protected internal abstract ModelBusView GetView(
    ModelBusAdapter viewOwner,
    ModelBusReference viewReference
)
public protected:
virtual ModelBusView^ GetView(
    ModelBusAdapter^ viewOwner,
    ModelBusReference^ viewReference
) abstract
abstract GetView : 
        viewOwner:ModelBusAdapter *
        viewReference:ModelBusReference -> ModelBusView
Protected Friend MustOverride Function GetView (
    viewOwner As ModelBusAdapter,
    viewReference As ModelBusReference
) As ModelBusView

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusView

An instance of the View associated with the ModelBusAdapter

Remarks

The viewReference must point to the same Model as the "Reference" property of the viewOwner

See Also

ModelBusAdapterManager Class
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top