共用方式為


IDifferenceViewer.ViewModeChanged 事件

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

語法

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

.NET Framework 安全性

請參閱

參考

IDifferenceViewer 介面

Microsoft.VisualStudio.Text.Differencing 命名空間