IComThreadingInfo.GetCurrentApartmentType Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Sub GetCurrentApartmentType ( _
<OutAttribute> pAptType As APTTYPE() _
)
void GetCurrentApartmentType(
APTTYPE[] pAptType
)
void GetCurrentApartmentType(
[OutAttribute] array<APTTYPE>^ pAptType
)
abstract GetCurrentApartmentType :
pAptType:APTTYPE[] byref -> unit
function GetCurrentApartmentType(
pAptType : APTTYPE[]
)
Parameters
- pAptType
Type: array<Microsoft.VisualStudio.OLE.Interop.APTTYPE[]
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.