PropertyValidatorInt 생성자 (Boolean, Boolean, Int32, Int32)
네임스페이스: Microsoft.Data.Schema.Build
어셈블리: Microsoft.Data.Schema(Microsoft.Data.Schema.dll)
구문
‘선언
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
)
매개 변수
- allowNullOrEmpty
형식: System.Boolean
nullNull 참조(Visual Basic의 경우 Nothing) 값을 허용하면 true이고, nullNull 참조(Visual Basic의 경우 Nothing) 값을 허용하지 않으면 false입니다.
- allowZero
형식: System.Boolean
0 값을 허용하면 true이고, 0이 아닌 값이 필요하면 false입니다.
- minValue
형식: System.Int32
최소 유효 값을 나타내는 int입니다.
- maxValue
형식: System.Int32
최대 유효 값을 나타내는 int입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.