ScalarValueCondition.NullExpected Property
Gets or sets whether the ExpectedValue should be null.
Namespace: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions
Assembly: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.dll)
Syntax
'Declaration
Public Property NullExpected As Boolean
'Usage
Dim instance As ScalarValueCondition
Dim value As Boolean
value = instance.NullExpected
instance.NullExpected = value
public bool NullExpected { get; set; }
public:
property bool NullExpected {
bool get ();
void set (bool value);
}
public function get NullExpected () : boolean
public function set NullExpected (value : boolean)
Property Value
Type: System.Boolean
Remarks
This property is automatically set to true when the ExpectedValue is null. If you set NullExpected to true, then ExpectedValue is automatically set to null.
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.
See Also
Reference
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions Namespace