PropertyValidatorInt 构造函数 (Boolean, Int32, Int32)

命名空间:  Microsoft.Data.Schema.Build
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
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
)

参数

  • allowNullOrEmpty
    类型:System.Boolean
    如果允许 nullnull 引用(在 Visual Basic 中为 Nothing) 值,则为 true;如果禁止 nullnull 引用(在 Visual Basic 中为 Nothing) 值,则为 false。
  • minValue
    类型:System.Int32
    一个表示最小有效值的 int。
  • maxValue
    类型:System.Int32
    一个表示最大有效值的 int。

.NET Framework 安全性

请参见

参考

PropertyValidatorInt 类

PropertyValidatorInt 重载

Microsoft.Data.Schema.Build 命名空间