共用方式為


IOutliningManager.RegionsCollapsed Event

Occurs when an ICollapsible region is collapsed.

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

Syntax

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

Remarks

This event is not raised when there are changes in the set of ICollapsible regions on the corresponding elision buffer.

.NET Framework Security

See Also

Reference

IOutliningManager Interface

Microsoft.VisualStudio.Text.Outlining Namespace