Share via


IValidationResult.HasWarnings Property

Definition

Gets whether any of the rule validation violations are warnings.

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

Property Value

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

Applies to