IDialogContent.CloseDialog 事件
適用於版本2
在對話方塊應該關閉時發生。
命名空間: Microsoft.WebMatrix.Extensibility
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Event CloseDialog As EventHandler(Of EventArgs)
'用途
Dim instance As IDialogContent
Dim handler As EventHandler(Of EventArgs)
AddHandler instance.CloseDialog, handler
event EventHandler<EventArgs> CloseDialog
event EventHandler<EventArgs^>^ CloseDialog {
void add (EventHandler<EventArgs^>^ value);
void remove (EventHandler<EventArgs^>^ value);
}
abstract CloseDialog : IEvent<EventHandler<EventArgs>,
EventArgs>
JScript supports the use of events, but not the declaration of new ones.