다음을 통해 공유


PrintTaskOptionDetails.OptionChanged 이벤트

정의

고급 인쇄 작업 옵션 중 하나가 변경될 때 발생합니다.

// 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) 

이벤트 유형

적용 대상