Version

ValueConstraintFlags Enumeration

Used for specifying which constraints should be applied to the input value of the ValueConstraint.Validate method.
Syntax
'Declaration
 
Public Enum ValueConstraintFlags 
   Inherits System.Enum
public enum ValueConstraintFlags : System.Enum 
Members
MemberDescription
AllSpecifies that all constraints, both implicit and explicit, should be applied during validation.
EnumerationSpecifies that the ValueConstraint.Enumeration constraint should be applied during validation.
FixedValueSpecifies that the ValueConstraint.FixedValue constraint should be applied during validation.
ImplicitTypeParameterConstraintsSpecifies that the implicit constraints imposed by the Type argument to the ValueConstraint.Validate method should be enforced during validation.
ImplicitValueAsTypeConstraintsSpecifies that the implicit constraints imposed by the pseudo-datatype supplied by the ValueConstraint.ValidateAsType property should be enforced during validation.
MaxExclusiveSpecifies that the ValueConstraint.MaxExclusive constraint should be applied during validation.
MaxInclusiveSpecifies that the ValueConstraint.MaxInclusive constraint should be applied during validation.
MaxLengthSpecifies that the ValueConstraint.MaxLength constraint should be applied during validation.
MinExclusiveSpecifies that the ValueConstraint.MinExclusive constraint should be applied during validation.
MinInclusiveSpecifies that the ValueConstraint.MinInclusive constraint should be applied during validation.
MinLengthSpecifies that the ValueConstraint.MinLength constraint should be applied during validation.
NullableSpecifies that the ValueConstraint.Nullable constraint should be applied during validation.
RegexPatternSpecifies that the ValueConstraint.RegexPattern constraint should be applied during validation.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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

See Also