
## SetStateForced {#setstateforced}

Sets the state of the calendar object, overriding any default behavior.

**Returns:** void Aspose::Email::Mapi::

```cpp
SetStateForced(MapiCalendarState state)
```

| Parameter | Description |
| --- | --- |
| state | The new state to apply to the calendar object. |

