Compartir a través de


ScalarValueCondition.NullExpected (Propiedad)

Obtiene o establece un valor que indica si la propiedad ExpectedValue espera un valor NULL.

Espacio de nombres:  Microsoft.Data.Schema.UnitTesting.Conditions
Ensamblado:  Microsoft.Data.Schema.UnitTesting (en Microsoft.Data.Schema.UnitTesting.dll)

Sintaxis

'Declaración
Public Property NullExpected As Boolean
    Get
    Set
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)

Valor de propiedad

Tipo: System.Boolean

Comentarios

Esta propiedad se establece automáticamente en true cuando ExpectedValue es nullreferencia null (Nothing en Visual Basic). Si establece NullExpected en true, se establece ExpectedValue en nullreferencia null (Nothing en Visual Basic) automáticamente.

Seguridad de .NET Framework

Vea también

Referencia

ScalarValueCondition Clase

Microsoft.Data.Schema.UnitTesting.Conditions (Espacio de nombres)