Message in Chinese (Simplified) (中文(简体))
例如,下面的代码将 Xyz 属性标记为 必需属性并指定有效值的格式: [Required] [RegularExpression("[A-Z][A-Za-z0-9]*")] [StringLength(32)] public string Xyz { get; set; }
Unlocalized message
For example, the following marks the Xyz property as a required property and specifies the format for valid values: [Required] [RegularExpression("[A-Z][A-Za-z0-9]*")] [StringLength(32)] public string Xyz { get; set; }
Search by Google