共用方式為


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
    true 表示允許 nullNull 參照 (即 Visual Basic 中的 Nothing) 值,false 表示不允許 nullNull 參照 (即 Visual Basic 中的 Nothing) 值。
  • minValue
    型別:System.Int32
    int ,表示最小有效值。
  • maxValue
    型別:System.Int32
    int ,表示最大有效值。

.NET Framework 安全性

請參閱

參考

PropertyValidatorInt 類別

PropertyValidatorInt 多載

Microsoft.Data.Schema.Build 命名空間