StringRangeAttribute.AddValidation method public override void AddValidation(ClientModelValidationContext context) See Also class StringRangeAttribute namespace Amica