DataAnnotationsModelValidator.IsRequired DataAnnotationsModelValidator.IsRequired DataAnnotationsModelValidator.IsRequired Property

Definition

Gets a value that indicates whether model validation is required.

public override bool IsRequired { get; }
member this.IsRequired : bool
Public Overrides ReadOnly Property IsRequired As Boolean

Property Value

true if model validation is required; otherwise, false.

Applies to