IFileTableService.PreSave イベント

v2 に適用されます。

ファイルを保存する前に発生します。

名前空間:  Microsoft.WebMatrix.Extensibility.Editor
アセンブリ:  Microsoft.WebMatrix.Extensibility (Microsoft.WebMatrix.Extensibility.dll)

構文

'宣言
Event PreSave As EventHandler(Of EditorEventArgs)
'使用
Dim instance As IFileTableService 
Dim handler As EventHandler(Of EditorEventArgs)

AddHandler instance.PreSave, handler
event EventHandler<EditorEventArgs> PreSave
event EventHandler<EditorEventArgs^>^ PreSave {
    void add (EventHandler<EditorEventArgs^>^ value);
    void remove (EventHandler<EditorEventArgs^>^ value);
}
abstract PreSave : IEvent<EventHandler<EditorEventArgs>,
    EditorEventArgs>
JScript supports the use of events, but not the declaration of new ones.

関連項目

参照

IFileTableService インターフェイス

Microsoft.WebMatrix.Extensibility.Editor 名前空間