Edit

Share via


DataAnnotationsModelValidator.Attribute Property

Definition

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

Property Value

The validation attribute.

Applies to