IClosableNotifier.Closed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the object has been closed (disposed), after the FrameworkClosed event, to notify the app that the object is closed.
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