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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'宣告
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
- viewOwner
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapter
ModelBusAdapter to which the View belongs
- viewReference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
Fully qualified reference to the view being requested
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.