次の方法で共有


ModelingWindowPane.SelectionChanging Event

Fired before the selection in the window pane changes.

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

Syntax

'宣言
Public Event SelectionChanging As EventHandler
public event EventHandler SelectionChanging
public:
virtual  event EventHandler^ SelectionChanging {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
abstract SelectionChanging : IEvent<EventHandler,
    EventArgs>
override SelectionChanging : IEvent<EventHandler,
    EventArgs>
JScript does not support events.

Implements

ISelectionService.SelectionChanging

Remarks

If a client needs to be notified before the selection in the window pane changes, the client should register a handler for this event.

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace