共用方式為


IOutliningManager.RegionsChanged Event

Occurs when there are changes in the set of ICollapsible regions on the corresponding elision buffer.

Namespace:  Microsoft.VisualStudio.Text.Outlining
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

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

Remarks

This event is not raised when the collapsed state of any ICollapsible changes.

.NET Framework Security

See Also

Reference

IOutliningManager Interface

Microsoft.VisualStudio.Text.Outlining Namespace