Share via


RatedContentRestrictions.RestrictionsChanged Event

Definition

An event handler to notify apps when there are changes to the user's content settings.

// Register
event_token RestrictionsChanged(EventHandler<IInspectable> const& handler) const;

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

// Revoke with event_revoker
RatedContentRestrictions::RestrictionsChanged_revoker RestrictionsChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public event System.EventHandler<object> RestrictionsChanged;
function onRestrictionsChanged(eventArgs) { /* Your code */ }
ratedContentRestrictions.addEventListener("restrictionschanged", onRestrictionsChanged);
ratedContentRestrictions.removeEventListener("restrictionschanged", onRestrictionsChanged);
- or -
ratedContentRestrictions.onrestrictionschanged = onRestrictionsChanged;
Public Custom Event RestrictionsChanged As EventHandler(Of Object) 

Event Type

Applies to