TargetedContentSubscription.ContentChanged 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 content in this subscription changes.
// Register
event_token ContentChanged(TypedEventHandler<TargetedContentSubscription, TargetedContentChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void ContentChanged(event_token const* cookie) const;
// Revoke with event_revoker
TargetedContentSubscription::ContentChanged_revoker ContentChanged(auto_revoke_t, TypedEventHandler<TargetedContentSubscription, TargetedContentChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<TargetedContentSubscription,TargetedContentChangedEventArgs> ContentChanged;
function onContentChanged(eventArgs) { /* Your code */ }
targetedContentSubscription.addEventListener("contentchanged", onContentChanged);
targetedContentSubscription.removeEventListener("contentchanged", onContentChanged);
- or -
targetedContentSubscription.oncontentchanged = onContentChanged;
Public Custom Event ContentChanged As TypedEventHandler(Of TargetedContentSubscription, TargetedContentChangedEventArgs)
Event Type
Windows requirements
App capabilities |
secondaryAuthenticationFactor
|