共用方式為


ClosedCaptionProperties.PropertiesChanged 事件

定義

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

// Revoke with event_token
static void PropertiesChanged(event_token const* cookie) const;

// Revoke with event_revoker
static ClosedCaptionProperties::PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> PropertiesChanged;
function onPropertiesChanged(eventArgs) { /* Your code */ }
Windows.Media.ClosedCaptioning.ClosedCaptionProperties.addEventListener("propertieschanged", onPropertiesChanged);
Windows.Media.ClosedCaptioning.ClosedCaptionProperties.removeEventListener("propertieschanged", onPropertiesChanged);
- or -
Windows.Media.ClosedCaptioning.ClosedCaptionProperties.onpropertieschanged = onPropertiesChanged;
Public Shared Custom Event PropertiesChanged As EventHandler(Of Object) 

事件類型

適用於