Share via


PropertyValidatorInt Constructor (Boolean, Boolean, Int32, Int32)

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

Syntax

'Declaration
Public Sub New ( _
    allowNullOrEmpty As Boolean, _
    allowZero As Boolean, _
    minValue As Integer, _
    maxValue As Integer _
)
public PropertyValidatorInt(
    bool allowNullOrEmpty,
    bool allowZero,
    int minValue,
    int maxValue
)
public:
PropertyValidatorInt(
    bool allowNullOrEmpty, 
    bool allowZero, 
    int minValue, 
    int maxValue
)
new : 
        allowNullOrEmpty:bool * 
        allowZero:bool * 
        minValue:int * 
        maxValue:int -> PropertyValidatorInt
public function PropertyValidatorInt(
    allowNullOrEmpty : boolean, 
    allowZero : boolean, 
    minValue : int, 
    maxValue : int
)

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.
  • allowZero
    Type: System.Boolean
    true to allow a zero value; false to require a nonzero value.
  • minValue
    Type: System.Int32
    An int that represents the minimum valid value.
  • maxValue
    Type: System.Int32
    An int that represents the maximum valid value.

.NET Framework Security

See Also

Reference

PropertyValidatorInt Class

PropertyValidatorInt Overload

Microsoft.Data.Schema.Build Namespace