System.ComponentModel.DataAnnotations.IntegerAttribute.IntegerAttribute C# (CSharp) Method

IntegerAttribute() public method

The default message is "The field {0} should be a positive or negative non-decimal number."
public IntegerAttribute ( ) : System
return System
        public IntegerAttribute()
            : this("The field {0} should be a positive or negative non-decimal number.")
        {
        }

Same methods

IntegerAttribute::IntegerAttribute ( string errorMessage ) : System