Share via


PropertyValidatorInt Constructor (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, _
    minValue As Integer, _
    maxValue As Integer _
)
public PropertyValidatorInt(
    bool allowNullOrEmpty,
    int minValue,
    int maxValue
)
public:
PropertyValidatorInt(
    bool allowNullOrEmpty, 
    int minValue, 
    int maxValue
)
new : 
        allowNullOrEmpty:bool * 
        minValue:int * 
        maxValue:int -> PropertyValidatorInt
public function PropertyValidatorInt(
    allowNullOrEmpty : 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.
  • 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