다음을 통해 공유


Clipboard.RoamingEnabledChanged 이벤트

정의

클립보드 데이터가 현재 사용자의 디바이스 간에 동기화되도록 설정되어 있는지 여부를 제어하는 OS 설정이 변경되면 발생합니다.

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

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

// Revoke with event_revoker
static Clipboard::RoamingEnabledChanged_revoker RoamingEnabledChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> RoamingEnabledChanged;
function onRoamingEnabledChanged(eventArgs) { /* Your code */ }
Windows.ApplicationModel.DataTransfer.Clipboard.addEventListener("roamingenabledchanged", onRoamingEnabledChanged);
Windows.ApplicationModel.DataTransfer.Clipboard.removeEventListener("roamingenabledchanged", onRoamingEnabledChanged);
- or -
Windows.ApplicationModel.DataTransfer.Clipboard.onroamingenabledchanged = onRoamingEnabledChanged;
Public Shared Custom Event RoamingEnabledChanged As EventHandler(Of Object) 

이벤트 유형

Windows 요구 사항

요구 사항 Description
디바이스 패밀리
Windows 10, version 1809 (10.0.17763.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v7.0에서 도입되었습니다.)

적용 대상