Share via


IValidationResult.HasErrors Property

Definition

Gets whether any of the rule validation violations are errors.

public:
 property bool HasErrors { bool get(); };
public bool HasErrors { get; }
member this.HasErrors : bool
Public ReadOnly Property HasErrors As Boolean

Property Value

True if the Severity property of any of the rule violations is ValidationRuleViolationSeverity.Error; false otherwise.

Applies to