'Declaration Public Enum ValueConstraintFlags Inherits System.Enum
public enum ValueConstraintFlags : System.Enum
Member | Description |
---|---|
All | Specifies that all constraints, both implicit and explicit, should be applied during validation. |
Enumeration | Specifies that the ValueConstraint.Enumeration constraint should be applied during validation. |
FixedValue | Specifies that the ValueConstraint.FixedValue constraint should be applied during validation. |
ImplicitTypeParameterConstraints | Specifies that the implicit constraints imposed by the Type argument to the ValueConstraint.Validate method should be enforced during validation. |
ImplicitValueAsTypeConstraints | Specifies that the implicit constraints imposed by the pseudo-datatype supplied by the ValueConstraint.ValidateAsType property should be enforced during validation. |
MaxExclusive | Specifies that the ValueConstraint.MaxExclusive constraint should be applied during validation. |
MaxInclusive | Specifies that the ValueConstraint.MaxInclusive constraint should be applied during validation. |
MaxLength | Specifies that the ValueConstraint.MaxLength constraint should be applied during validation. |
MinExclusive | Specifies that the ValueConstraint.MinExclusive constraint should be applied during validation. |
MinInclusive | Specifies that the ValueConstraint.MinInclusive constraint should be applied during validation. |
MinLength | Specifies that the ValueConstraint.MinLength constraint should be applied during validation. |
Nullable | Specifies that the ValueConstraint.Nullable constraint should be applied during validation. |
RegexPattern | Specifies that the ValueConstraint.RegexPattern constraint should be applied during validation. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2