Share via


IValidationResult.HasWarnings Property

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