APTTYPE Enum

Definition

Specifies different types of apartments.

C++/CX
public enum class APTTYPE
Inheritance
APTTYPE

Fields

Name Value Description
APTTYPE_CURRENT -1

Indicates that the current thread is the apartment type.

APTTYPE_STA 0

Indicates that a single-threaded apartment is the apartment type.

APTTYPE_MTA 1

Indicates that a multi-threaded apartment is the apartment type.

APTTYPE_NA 2

Indicates that a neutral apartment is the apartment type.

APTTYPE_MAINSTA 3

Indicates that the main single-threaded apartment is the apartment type.

Applies to

Produkt Verzie
Visual Studio SDK 2015, 2017, 2019, 2022