次の方法で共有


TargetedContentSubscription.ContentChanged イベント

定義

このサブスクリプションのコンテンツが変更されたときに発生します。

// 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) 

イベントの種類

Windows の要件

アプリの機能
secondaryAuthenticationFactor

適用対象

こちらもご覧ください