Compartir a través de


IPropertyValidator.AllowNullOrEmpty (Propiedad)

Indica si la clase derivada permite valores nullreferencia null (Nothing en Visual Basic) o vacíos como valores de propiedad válidos.

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

Sintaxis

'Declaración
ReadOnly Property AllowNullOrEmpty As Boolean
    Get
bool AllowNullOrEmpty { get; }
property bool AllowNullOrEmpty {
    bool get ();
}
abstract AllowNullOrEmpty : bool
function get AllowNullOrEmpty () : boolean

Valor de propiedad

Tipo: System.Boolean
true si los valores de propiedad pueden ser nullreferencia null (Nothing en Visual Basic) o estar vacíos; de lo contrario, false.

Seguridad de .NET Framework

Vea también

Referencia

IPropertyValidator Interfaz

Microsoft.Data.Schema.Build (Espacio de nombres)