次の方法で共有


PrintSupportExtensionSession.PrintDeviceCapabilitiesChanged イベント

定義

関連付けられているインターネット印刷プロトコル (IPP) プリンターのキャッシュされた印刷機能がシステムによって更新されたときに発生します。

// Register
event_token PrintDeviceCapabilitiesChanged(TypedEventHandler<PrintSupportExtensionSession, PrintSupportPrintDeviceCapabilitiesChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintSupportExtensionSession::PrintDeviceCapabilitiesChanged_revoker PrintDeviceCapabilitiesChanged(auto_revoke_t, TypedEventHandler<PrintSupportExtensionSession, PrintSupportPrintDeviceCapabilitiesChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintSupportExtensionSession,PrintSupportPrintDeviceCapabilitiesChangedEventArgs> PrintDeviceCapabilitiesChanged;
function onPrintDeviceCapabilitiesChanged(eventArgs) { /* Your code */ }
printSupportExtensionSession.addEventListener("printdevicecapabilitieschanged", onPrintDeviceCapabilitiesChanged);
printSupportExtensionSession.removeEventListener("printdevicecapabilitieschanged", onPrintDeviceCapabilitiesChanged);
- or -
printSupportExtensionSession.onprintdevicecapabilitieschanged = onPrintDeviceCapabilitiesChanged;
Public Custom Event PrintDeviceCapabilitiesChanged As TypedEventHandler(Of PrintSupportExtensionSession, PrintSupportPrintDeviceCapabilitiesChangedEventArgs) 

イベントの種類

注釈

PrintSupportPrintDeviceCapabilitiesChangedEventArgs には、現在の印刷機能が用意されており、機能の更新に使用できるメソッドが用意されています。

適用対象