共用方式為


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

驗證屬性。

適用於