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
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.Data.Schema.UnitTesting.Conditions (Espacio de nombres)