Share via


TargetedContentSubscription.ContentChanged Event

Definition

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

Applies to

See also