PrintWorkflowVirtualPrinterSession.VirtualPrinterDataAvailable Evento
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
// 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 de evento
TypedEventHandler<PrintWorkflowVirtualPrinterSession,PrintWorkflowVirtualPrinterDataAvailableEventArgs>