Share via


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);
}
/** @property */
public boolean get_NullExpected ()

/** @property */
public void set_NullExpected (boolean value)
public function get NullExpected () : boolean

public function set NullExpected (value : 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.

See Also

Reference

ScalarValueCondition Class
ScalarValueCondition Members
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions Namespace