ModelBusView Class

ModelBusView is an object obtained from a ModelBusAdapter for a Model. The ModelBusView allows the client to create, access and manipulate the design surface or editor for the model.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.Integration.ModelBusView
    Microsoft.VisualStudio.Modeling.Integration.Shell.VsModelingView

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

Syntax

'Declaration
Public MustInherit Class ModelBusView
public abstract class ModelBusView
public ref class ModelBusView abstract
[<AbstractClass>]
type ModelBusView =  class end
public abstract class ModelBusView

The ModelBusView type exposes the following members.

Constructors

  Name Description
Protected method ModelBusView Constructor

Top

Properties

  Name Description
Public property Adapter ModelBusAdapter instance that created and owns this ModelBusView
Public property IsOperational Flag for derived classes to indicate if a ModelBusView is usable or not
Public property ViewReference Reference identifier used to create this ModelBusView object

Top

Methods

  Name Description
Public method Close Closes the WindowFrame represented by this ModelBusView.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Hide Hides the WindowFrame represented by this ModelBusView. The underlying view container is still held in memory.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Open Opens/attaches the underlying editor object represented by this ModelBusView.
Public method SetSelection(ModelBusReference) Selects the element identified by the reference in this ModelBusView
Public method SetSelection(IEnumerable<ModelBusReference>) Selects the elements identified by the referenes in this ModelBusView
Public method Show Activates the WindowFrame represented by this ModelBusView and sets focus on it
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.Integration Namespace