TwoPanelHingedDevicePosturePreview.PostureChanged イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
// Register
event_token PostureChanged(TypedEventHandler<TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void PostureChanged(event_token const* cookie) const;
// Revoke with event_revoker
TwoPanelHingedDevicePosturePreview::PostureChanged_revoker PostureChanged(auto_revoke_t, TypedEventHandler<TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
// Register
event_token PostureChanged(TypedEventHandler<TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void PostureChanged(event_token const* cookie) const;
// Revoke with event_revoker
TwoPanelHingedDevicePosturePreview::PostureChanged_revoker PostureChanged(auto_revoke_t, TypedEventHandler<TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<TwoPanelHingedDevicePosturePreview,TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> PostureChanged;
[add: Windows.Foundation.Metadata.Deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<TwoPanelHingedDevicePosturePreview,TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> PostureChanged;
function onPostureChanged(eventArgs) { /* Your code */ }
twoPanelHingedDevicePosturePreview.addEventListener("posturechanged", onPostureChanged);
twoPanelHingedDevicePosturePreview.removeEventListener("posturechanged", onPostureChanged);
- or -
twoPanelHingedDevicePosturePreview.onposturechanged = onPostureChanged;
Public Custom Event PostureChanged As TypedEventHandler(Of TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs)
イベントの種類
TypedEventHandler<TwoPanelHingedDevicePosturePreview,TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs>
- 属性