Print3DWorkflow.PrinterChanged Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Si verifica quando l'utente modifica la stampante 3D designata.
// 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)
Tipo evento
Requisiti Windows
Famiglia di dispositivi |
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (è stato introdotto in v3.0)
|