Share via


DataAnnotationsModelValidator.Attribute Property

Definition

Gets the validation attribute for the model validator.

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 for the model validator.

Applies to