Share via


ModelBusAdapterManager.GetView Method

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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)

Syntax

'Declaration
Protected Friend MustOverride Function GetView ( _
    viewOwner As ModelBusAdapter, _
    viewReference As ModelBusReference _
) As ModelBusView
protected internal abstract ModelBusView GetView(
    ModelBusAdapter viewOwner,
    ModelBusReference viewReference
)
protected public:
virtual ModelBusView^ GetView(
    ModelBusAdapter^ viewOwner, 
    ModelBusReference^ viewReference
) abstract
abstract GetView : 
        viewOwner:ModelBusAdapter * 
        viewReference:ModelBusReference -> ModelBusView
abstract function GetView(
    viewOwner : ModelBusAdapter, 
    viewReference : ModelBusReference
) : 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

.NET Framework Security

See Also

Reference

ModelBusAdapterManager Class

Microsoft.VisualStudio.Modeling.Integration Namespace