DataAnnotationsModelValidator.Attribute 属性
定义
获取模型验证程序的验证特性。Gets the validation attribute for the model validator.
protected public:
property System::ComponentModel::DataAnnotations::ValidationAttribute ^ Attribute { System::ComponentModel::DataAnnotations::ValidationAttribute ^ get(); };
protected internal System.ComponentModel.DataAnnotations.ValidationAttribute Attribute { get; }
member this.Attribute : System.ComponentModel.DataAnnotations.ValidationAttribute
Protected Friend ReadOnly Property Attribute As ValidationAttribute
属性值
验证特性。The validation attribute.