共用方式為


ITagger<T>.TagsChanged Event

Occurs when tags are added to or removed from the provider.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'宣告
Event TagsChanged As EventHandler(Of SnapshotSpanEventArgs)
event EventHandler<SnapshotSpanEventArgs> TagsChanged
 event EventHandler<SnapshotSpanEventArgs^>^ TagsChanged {
    void add (EventHandler<SnapshotSpanEventArgs^>^ value);
    void remove (EventHandler<SnapshotSpanEventArgs^>^ value);
}
abstract TagsChanged : IEvent<EventHandler<SnapshotSpanEventArgs>,
    SnapshotSpanEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

ITagger<T> Interface

Microsoft.VisualStudio.Text.Tagging Namespace