Share via


IValidationResult.HasWarnings 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 warnings.

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

Syntax

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

Property Value

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

.NET Framework Security

See Also

Reference

IValidationResult Interface

Microsoft.VisualStudio.SharePoint.Validation Namespace