## CancelEventArgs::set_Cancel method


يضبط القيمة التي تشير إلى ما إذا كان يجب إلغاء الحدث.

```cpp
void System::ComponentModel::CancelEventArgs::set_Cancel(bool cancel)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| إلغاء | bool | إذا كان صحيحًا، يجب إلغاء الحدث، إذا كان خطأً، لا يجب إلغاءه. |

## انظر أيضًا

* Class [CancelEventArgs](../)
* Namespace [System::ComponentModel](../../)
* Library [Aspose.Page for C++](../../../)
