共用方式為


IVerticalFractionMap.MappingChanged 事件

對應的字元位置和其垂直分數之間變更時,就會發生。 例如,檢視可能會重新呈現某些行,而變更了其字型大小。

命名空間:  Microsoft.VisualStudio.Text.Editor
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
Event MappingChanged As EventHandler
event EventHandler MappingChanged
event EventHandler^ MappingChanged {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
abstract MappingChanged : IEvent<EventHandler,
    EventArgs>
JScript 不支援事件。

.NET Framework 安全性

請參閱

參考

IVerticalFractionMap 介面

Microsoft.VisualStudio.Text.Editor 命名空間