Share via


PropertyValidatorBool Constructor (Boolean)

Initializes a new instance of the PropertyValidatorBool class by using the provided indication of whether the value can be nulla null reference (Nothing in Visual Basic) or empty.

Namespace:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Sub New ( _
    allowNullOrEmpty As Boolean _
)
public PropertyValidatorBool(
    bool allowNullOrEmpty
)
public:
PropertyValidatorBool(
    bool allowNullOrEmpty
)
new : 
        allowNullOrEmpty:bool -> PropertyValidatorBool
public function PropertyValidatorBool(
    allowNullOrEmpty : boolean
)

Parameters

  • allowNullOrEmpty
    Type: System.Boolean
    true to allow a nulla null reference (Nothing in Visual Basic) value; false to disallow a nulla null reference (Nothing in Visual Basic) value.

.NET Framework Security

See Also

Reference

PropertyValidatorBool Class

PropertyValidatorBool Overload

Microsoft.Data.Schema.Build Namespace