Share via


ScalarValueCondition.NullExpected Property

Gets or sets a value that indicates whether the ExpectedValue expects a null value.

Namespace:  Microsoft.Data.Schema.UnitTesting.Conditions
Assembly:  Microsoft.Data.Schema.UnitTesting (in Microsoft.Data.Schema.UnitTesting.dll)

Syntax

'Declaration
Public Property NullExpected As Boolean
public bool NullExpected { get; set; }
public:
property bool NullExpected {
    bool get ();
    void set (bool value);
}
member NullExpected : bool with get, set
function get NullExpected () : boolean
function set NullExpected (value : boolean)

Property Value

Type: System.Boolean

Remarks

This property is automatically set to true when the ExpectedValue is nulla null reference (Nothing in Visual Basic). If you set NullExpected to true, ExpectedValue is automatically set to nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ScalarValueCondition Class

Microsoft.Data.Schema.UnitTesting.Conditions Namespace