次の方法で共有


PrintTaskConfiguration.SaveRequested イベント

定義

印刷チケットを更新する必要があることをデバイス アプリに通知するために、アプリの印刷ウィンドウによって発生します。

// Register
event_token SaveRequested(TypedEventHandler<PrintTaskConfiguration, PrintTaskConfigurationSaveRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintTaskConfiguration::SaveRequested_revoker SaveRequested(auto_revoke_t, TypedEventHandler<PrintTaskConfiguration, PrintTaskConfigurationSaveRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintTaskConfiguration,PrintTaskConfigurationSaveRequestedEventArgs> SaveRequested;
function onSaveRequested(eventArgs) { /* Your code */ }
printTaskConfiguration.addEventListener("saverequested", onSaveRequested);
printTaskConfiguration.removeEventListener("saverequested", onSaveRequested);
- or -
printTaskConfiguration.onsaverequested = onSaveRequested;
Public Custom Event SaveRequested As TypedEventHandler(Of PrintTaskConfiguration, PrintTaskConfigurationSaveRequestedEventArgs) 

イベントの種類

適用対象