MonitorSelectionEventArgs Class
Represents arguments for the monitor selection service.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | MonitorSelectionEventArgs(Object^, Object^) | Initializes a new instance of the MonitorSelectionEventArgs class. |
| Name | Description | |
|---|---|---|
![]() | NewValue | Gets the new ISelectionContainer object. |
![]() | OldValue | Gets the original ISelectionContainer object. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
This class references the P:Microsoft.VisualStudio.Modeling.Shell.CommandSet.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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


