MonitorSelectionEventArgs Class

 

Represents arguments for the monitor selection service.

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

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

public ref class MonitorSelectionEventArgs : EventArgs

NameDescription
System_CAPS_pubmethodMonitorSelectionEventArgs(Object^, Object^)

Initializes a new instance of the MonitorSelectionEventArgs class.

NameDescription
System_CAPS_pubpropertyNewValue

Gets the new ISelectionContainer object.

System_CAPS_pubpropertyOldValue

Gets the original ISelectionContainer object.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: