## ApartmentState enum


Sets apartment state of the thread.

```cpp
enum class ApartmentState
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| STA | 0 | [Thread](../thread/) will be created in single-threaded apartment. |
| MTA | 1 | [Thread](../thread/) will be created in single-threaded apartment. |
| Unknown | 2 | [Thread](../thread/) apartment state is unspecified. |

## See Also

* Namespace [System::Threading](../)
* Library [Aspose.PDF for C++](../../)
