次の方法で共有


Print3DWorkflow.PrinterChanged イベント

定義

ユーザーが指定された 3D プリンターを変更したときに発生します。

// Register
event_token PrinterChanged(TypedEventHandler<Print3DWorkflow, Print3DWorkflowPrinterChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
Print3DWorkflow::PrinterChanged_revoker PrinterChanged(auto_revoke_t, TypedEventHandler<Print3DWorkflow, Print3DWorkflowPrinterChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<Print3DWorkflow,Print3DWorkflowPrinterChangedEventArgs> PrinterChanged;
function onPrinterChanged(eventArgs) { /* Your code */ }
print3DWorkflow.addEventListener("printerchanged", onPrinterChanged);
print3DWorkflow.removeEventListener("printerchanged", onPrinterChanged);
- or -
print3DWorkflow.onprinterchanged = onPrinterChanged;
Public Custom Event PrinterChanged As TypedEventHandler(Of Print3DWorkflow, Print3DWorkflowPrinterChangedEventArgs) 

イベントの種類

Windows の要件

デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox で導入)
API contract
Windows.Foundation.UniversalApiContract (v3.0 で導入)

適用対象