Freigeben über


ITextBuffer.ReadOnlyRegionsChanged Event

Occurs when a IReadOnlyRegionEdit has created or removed read-only regions.

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

Syntax

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

.NET Framework Security

See Also

Reference

ITextBuffer Interface

Microsoft.VisualStudio.Text Namespace