次の方法で共有


IStorageProviderKnownFolderSyncInfoSource.KnownFolderSyncInfoChanged イベント

定義

既知のフォルダーの同期状態が変更されたときに発生するイベント。

// Register
event_token KnownFolderSyncInfoChanged(TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
IStorageProviderKnownFolderSyncInfoSource::KnownFolderSyncInfoChanged_revoker KnownFolderSyncInfoChanged(auto_revoke_t, TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource, IInspectable const&> const& handler) const;
event TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource,object> KnownFolderSyncInfoChanged;
function onKnownFolderSyncInfoChanged(eventArgs) { /* Your code */ }
iStorageProviderKnownFolderSyncInfoSource.addEventListener("knownfoldersyncinfochanged", onKnownFolderSyncInfoChanged);
iStorageProviderKnownFolderSyncInfoSource.removeEventListener("knownfoldersyncinfochanged", onKnownFolderSyncInfoChanged);
- or -
iStorageProviderKnownFolderSyncInfoSource.onknownfoldersyncinfochanged = onKnownFolderSyncInfoChanged;
Event KnownFolderSyncInfoChanged As TypedEventHandler(Of IStorageProviderKnownFolderSyncInfoSource, Object) 

イベントの種類

注釈

StorageProviderKnownFolderSyncInfo のプロパティを更新するには、クラウド プロバイダーが KnownFolderSyncInfoChanged イベントを発生させ、新しい StorageProviderKnownFolderSyncInfo オブジェクトを提供する準備が整う必要があります。

適用対象

こちらもご覧ください