Share via


IValidationResult.HasErrors Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets whether any of the rule validation violations are errors.

Namespace:  Microsoft.VisualStudio.SharePoint.Validation
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
ReadOnly Property HasErrors As Boolean
bool HasErrors { get; }

Property Value

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

.NET Framework Security

See Also

Reference

IValidationResult Interface

Microsoft.VisualStudio.SharePoint.Validation Namespace