DataAnnotationsModelValidator.Attribute Eigenschaft

Definition

Ruft das Validierungsattribut für das Validierungssteuerelement des Modells ab.

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

Eigenschaftswert

ValidationAttribute

Das Validierungsattribut.

Gilt für