ContentIslandEnvironment.SettingChanged 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 settings have changed on this instance.
// Register
event_token SettingChanged(TypedEventHandler<ContentIslandEnvironment, ContentEnvironmentSettingChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void SettingChanged(event_token const* cookie) const;
// Revoke with event_revoker
ContentIslandEnvironment::SettingChanged_revoker SettingChanged(auto_revoke_t, TypedEventHandler<ContentIslandEnvironment, ContentEnvironmentSettingChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<ContentIslandEnvironment,ContentEnvironmentSettingChangedEventArgs> SettingChanged;
function onSettingChanged(eventArgs) { /* Your code */ }
contentIslandEnvironment.addEventListener("settingchanged", onSettingChanged);
contentIslandEnvironment.removeEventListener("settingchanged", onSettingChanged);
- or -
contentIslandEnvironment.onsettingchanged = onSettingChanged;
Public Custom Event SettingChanged As TypedEventHandler(Of ContentIslandEnvironment, ContentEnvironmentSettingChangedEventArgs)