Compartilhar via


PrintTaskOptionDetails.OptionChanged Evento

Definição

Gerado quando qualquer uma das opções avançadas de tarefa de impressão é alterada.

// Register
event_token OptionChanged(TypedEventHandler<PrintTaskOptionDetails, PrintTaskOptionChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintTaskOptionDetails::OptionChanged_revoker OptionChanged(auto_revoke_t, TypedEventHandler<PrintTaskOptionDetails, PrintTaskOptionChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintTaskOptionDetails,PrintTaskOptionChangedEventArgs> OptionChanged;
function onOptionChanged(eventArgs) { /* Your code */ }
printTaskOptionDetails.addEventListener("optionchanged", onOptionChanged);
printTaskOptionDetails.removeEventListener("optionchanged", onOptionChanged);
- or -
printTaskOptionDetails.onoptionchanged = onOptionChanged;
Public Custom Event OptionChanged As TypedEventHandler(Of PrintTaskOptionDetails, PrintTaskOptionChangedEventArgs) 

Tipo de evento

Aplica-se a