IClosableNotifier.Closed 事件

定义

当对象已关闭 (释放) FrameworkClosed 事件之后,通知应用对象已关闭时发生。

public:
 event ClosableNotifierHandler ^ Closed;
// Register
event_token Closed(ClosableNotifierHandler const& handler) const;

// Revoke with event_token
void Closed(event_token const* cookie) const;

// Revoke with event_revoker
IClosableNotifier::Closed_revoker Closed(auto_revoke_t, ClosableNotifierHandler const& handler) const;
event ClosableNotifierHandler Closed;
function onClosed(eventArgs) { /* Your code */ }
iClosableNotifier.addEventListener("closed", onClosed);
iClosableNotifier.removeEventListener("closed", onClosed);
- or -
iClosableNotifier.onclosed = onClosed;
Event Closed As ClosableNotifierHandler 

事件类型

适用于

另请参阅