Partager via


IPropertyValidator.AllowNullOrEmpty, propriété

Indique si la classe dérivée accepte les valeurs nullune référence null (Nothing en Visual Basic) ou vides comme des valeurs de propriété valides.

Espace de noms :  Microsoft.Data.Schema.Build
Assembly :  Microsoft.Data.Schema (dans Microsoft.Data.Schema.dll)

Syntaxe

'Déclaration
ReadOnly Property AllowNullOrEmpty As Boolean
    Get
bool AllowNullOrEmpty { get; }
property bool AllowNullOrEmpty {
    bool get ();
}
abstract AllowNullOrEmpty : bool
function get AllowNullOrEmpty () : boolean

Valeur de propriété

Type : System.Boolean
true si les valeurs de propriété peuvent être nullune référence null (Nothing en Visual Basic) ou vides ; sinon, false.

Sécurité .NET Framework

Voir aussi

Référence

IPropertyValidator Interface

Microsoft.Data.Schema.Build, espace de noms