Share via


MonitorSelectionEventArgs Class

Represents arguments for the monitor selection service.

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

Syntax

'Declaration
Public Class MonitorSelectionEventArgs _
    Inherits EventArgs
'Usage
Dim instance As MonitorSelectionEventArgs
public class MonitorSelectionEventArgs : EventArgs
public ref class MonitorSelectionEventArgs : public EventArgs
public class MonitorSelectionEventArgs extends EventArgs

Remarks

This class references the MonitorSelection property in the CommandSet class and the ModelElementLocator class.

When selection changes in the diagram, the event handler to which you subscribed with the monitor selection service is invoked with these argument values.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.VisualStudio.Modeling.Shell.MonitorSelectionEventArgs

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

MonitorSelectionEventArgs Members

Microsoft.VisualStudio.Modeling.Shell Namespace