PrintTaskOptionDetails.OptionChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised when any one of the advanced print task options is changed.
// 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)