Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub GetCurrentApartmentType ( _
<OutAttribute> pAptType As APTTYPE() _
)
'使用
Dim instance As IComThreadingInfo
Dim pAptType As APTTYPE()
instance.GetCurrentApartmentType(pAptType)
void GetCurrentApartmentType(
APTTYPE[] pAptType
)
void GetCurrentApartmentType(
[OutAttribute] array<APTTYPE>^ pAptType
)
function GetCurrentApartmentType(
pAptType : APTTYPE[]
)
Parameters
- pAptType
Type: []
Permissions
- 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.