System.ComponentModel.DataAnnotations.MinAttribute.MinAttribute C# (CSharp) Méthode

MinAttribute() public méthode

Creates a new MinAttribute with the default error message "The field {0} must be greater than or equal to {1}."
public MinAttribute ( double min ) : System
min double The minimum value as double
Résultat System
        public MinAttribute(double min)
            : this("The field {0} must be greater than or equal to {1}.", min)
        {
        }

Same methods

MinAttribute::MinAttribute ( int min ) : System
MinAttribute::MinAttribute ( string errorMessage, double min ) : System
MinAttribute::MinAttribute ( string errorMessage, int min ) : System