Dela via


ValidateRangeKind Enum

Definition

Predefined range kind to use with ValidateRangeAttribute.

public enum class ValidateRangeKind
public enum ValidateRangeKind
type ValidateRangeKind = 
Public Enum ValidateRangeKind
Inheritance
ValidateRangeKind

Fields

Name Value Description
Positive 0

Range is greater than 0.

NonNegative 1

Range is greater than or equal to 0.

Negative 2

Range is less than 0.

NonPositive 3

Range is less than or equal to 0.

Applies to