Поделиться через


ITextBuffer.Changing Event

Occurs just before a non-empty ITextEdit is applied.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Декларация
Event Changing As EventHandler(Of TextContentChangingEventArgs)
event EventHandler<TextContentChangingEventArgs> Changing
 event EventHandler<TextContentChangingEventArgs^>^ Changing {
    void add (EventHandler<TextContentChangingEventArgs^>^ value);
    void remove (EventHandler<TextContentChangingEventArgs^>^ value);
}
abstract Changing : IEvent<EventHandler<TextContentChangingEventArgs>,
    TextContentChangingEventArgs>
JScript does not support events.

Remarks

If the edit operation is canceled in this event, another edit operation can be started immediately in the event handler. For example, you can this event may be used to provide checkout on edit as an implicit, user-cancelable source control functionality.

.NET Framework Security

See Also

Reference

ITextBuffer Interface

Microsoft.VisualStudio.Text Namespace

TextContentChangingEventArgs