System::ComponentModel::CancelEventArgs::set_Cancel method

CancelEventArgs::set_Cancel method

Sets value indicating whether the event should be cancelled.

void System::ComponentModel::CancelEventArgs::set_Cancel(bool cancel)
ParameterTypeDescription
cancelboolIf true, the event should be cancelled, if false, it should not.

See Also