ModelingWindowPane.OnSelectionChanging Method
Notifies event listeners before the selection changes.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Protected Overridable Sub OnSelectionChanging ( _
e As EventArgs _
)
protected virtual void OnSelectionChanging(
EventArgs e
)
protected:
virtual void OnSelectionChanging(
EventArgs^ e
)
abstract OnSelectionChanging :
e:EventArgs -> unit
override OnSelectionChanging :
e:EventArgs -> unit
protected function OnSelectionChanging(
e : EventArgs
)
Parameters
- e
Type: System.EventArgs
The event arguments.
Remarks
Derived classes that override this method should make sure to call the base class so that all event listeners are notified.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.