다음을 통해 공유


VsModelingView Class

Supports ModelBusView creation and manipulation for a standard VS based DSL designer editor.

This API is not CLS-compliant. 

Inheritance Hierarchy

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

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public MustInherit Class VsModelingView _
    Inherits ModelBusView
[CLSCompliantAttribute(false)]
public abstract class VsModelingView : ModelBusView
[CLSCompliantAttribute(false)]
public ref class VsModelingView abstract : public ModelBusView
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
type VsModelingView =  
    class 
        inherit ModelBusView 
    end
public abstract class VsModelingView extends ModelBusView

The VsModelingView type exposes the following members.

Constructors

  Name Description
Protected method VsModelingView Constructor

Top

Properties

  Name Description
Public property Adapter ModelBusAdapter instance that created and owns this ModelBusView (Inherited from ModelBusView.)
Public property IsOperational Indicates if any ModelBusView manipulation APIs can be called on this instance. (Overrides ModelBusView.IsOperational.)
Public property ViewReference Reference identifier used to create this ModelBusView object (Inherited from ModelBusView.)

Top

Methods

  Name Description
Public method Close Closes the WindowFrame represented by this ModelBusView. Does not accomodate persistance of DocData associated with this ModelBusView. (Overrides ModelBusView.Close().)
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.)
Protected method GetDocView Calling GetDocView will attach this VsModelingView instance to the ModelingDocView instance represented by it. The caller needs to explicitly call Show() to make the WindowFrame visible in VS, if was not already visible.
Public method GetHashCode Serves as the default hash function. (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 in memory. (Overrides ModelBusView.Hide().)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Open Opens/attaches to the underlying editor object represented by this ModelBusView. (Overrides ModelBusView.Open().)
Public method SetSelection(ModelBusReference) Selects the element identified by the reference in this ModelBusView (Inherited from ModelBusView.)
Public method SetSelection(IEnumerable<ModelBusReference>) Selects the elements identified by the referenes in this ModelBusView (Inherited from ModelBusView.)
Public method Show Activates the WindowFrame represented by this ModelBusView and sets focus on it (Overrides ModelBusView.Show().)
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.Shell Namespace