ITextBuffer.Changed Event
Occurs when a non-empty ITextEdit is successfully applied.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
声明
Event Changed As EventHandler(Of TextContentChangedEventArgs)
event EventHandler<TextContentChangedEventArgs> Changed
event EventHandler<TextContentChangedEventArgs^>^ Changed {
void add (EventHandler<TextContentChangedEventArgs^>^ value);
void remove (EventHandler<TextContentChangedEventArgs^>^ value);
}
abstract Changed : IEvent<EventHandler<TextContentChangedEventArgs>,
TextContentChangedEventArgs>
JScript does not support events.
Remarks
This event is raised after ChangedHighPriority events and before ChangedLowPriority events.
If a second edit is applied by a listener to the Changed event (or the ChangedHighPriority or ChangedLowPriority events), the Changed events for the second edit will not be raised until all listeners have been notified of the first edit (via ChangedLowPriority, Changed, and [:Microsoft.VisualStudio.Text.ITextBuffer.ChangedHighPriority] events). That is, the events for subsequent edits are queued. This ensures listeners receive the Changed events in the order the edits were applied.
.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.