PrintWorkflowVirtualPrinterSession.VirtualPrinterDataAvailable 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.
// Register
event_token VirtualPrinterDataAvailable(TypedEventHandler<PrintWorkflowVirtualPrinterSession, PrintWorkflowVirtualPrinterDataAvailableEventArgs const&> const& handler) const;
// Revoke with event_token
void VirtualPrinterDataAvailable(event_token const* cookie) const;
// Revoke with event_revoker
PrintWorkflowVirtualPrinterSession::VirtualPrinterDataAvailable_revoker VirtualPrinterDataAvailable(auto_revoke_t, TypedEventHandler<PrintWorkflowVirtualPrinterSession, PrintWorkflowVirtualPrinterDataAvailableEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintWorkflowVirtualPrinterSession,PrintWorkflowVirtualPrinterDataAvailableEventArgs> VirtualPrinterDataAvailable;
function onVirtualPrinterDataAvailable(eventArgs) { /* Your code */ }
printWorkflowVirtualPrinterSession.addEventListener("virtualprinterdataavailable", onVirtualPrinterDataAvailable);
printWorkflowVirtualPrinterSession.removeEventListener("virtualprinterdataavailable", onVirtualPrinterDataAvailable);
- or -
printWorkflowVirtualPrinterSession.onvirtualprinterdataavailable = onVirtualPrinterDataAvailable;
Public Custom Event VirtualPrinterDataAvailable As TypedEventHandler(Of PrintWorkflowVirtualPrinterSession, PrintWorkflowVirtualPrinterDataAvailableEventArgs)
Tipo evento
TypedEventHandler<PrintWorkflowVirtualPrinterSession,PrintWorkflowVirtualPrinterDataAvailableEventArgs>