RatedContentRestrictions.RestrictionsChanged 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.
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)