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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.