DataAnnotationsModelValidator.Attribute 属性

定义

获取模型验证程序的验证特性。

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

属性值

ValidationAttribute

验证特性。

适用于