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
- 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.