DataPackage.Destroyed 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 DataPackage is destroyed.
// Register
event_token Destroyed(TypedEventHandler<DataPackage, IInspectable const&> const& handler) const;
// Revoke with event_token
void Destroyed(event_token const* cookie) const;
// Revoke with event_revoker
DataPackage::Destroyed_revoker Destroyed(auto_revoke_t, TypedEventHandler<DataPackage, IInspectable const&> const& handler) const;
public event TypedEventHandler<DataPackage,object> Destroyed;
function onDestroyed(eventArgs) { /* Your code */ }
dataPackage.addEventListener("destroyed", onDestroyed);
dataPackage.removeEventListener("destroyed", onDestroyed);
- or -
dataPackage.ondestroyed = onDestroyed;
Public Custom Event Destroyed As TypedEventHandler(Of DataPackage, Object)
Event Type
TypedEventHandler<DataPackage,IInspectable>
Remarks
In general, the system handles the destruction of a DataPackage object. Your app should not have to handle this event.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro