Specifies different types of apartments.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Public Enumeration APTTYPE
public enum APTTYPE
public enum class APTTYPE
type APTTYPE
public enum APTTYPE
Members
| Member name | Description | |
|---|---|---|
| APTTYPE_CURRENT | Indicates that the current thread is the apartment type. | |
| APTTYPE_MAINSTA | Indicates that the main single-threaded apartment is the apartment type. | |
| APTTYPE_MTA | Indicates that a multi-threaded apartment is the apartment type. | |
| APTTYPE_NA | Indicates that a neutral apartment is the apartment type. | |
| APTTYPE_STA | Indicates that a single-threaded apartment is the apartment type. |