Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
Public Property ApartmentState As ApartmentState
'使用
Dim instance As TestRunConfiguration
Dim value As ApartmentState
value = instance.ApartmentState
instance.ApartmentState = value
public ApartmentState ApartmentState { get; set; }
public:
property ApartmentState ApartmentState {
ApartmentState get ();
void set (ApartmentState value);
}
public function get ApartmentState () : ApartmentState
public function set ApartmentState (value : ApartmentState)
Property Value
Type: System.Threading.ApartmentState
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.