Partager via


IValidationResult.RuleViolations Property

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

Gets the collection of rule validation violations found during validation.

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

Syntax

'Declaration
ReadOnly Property RuleViolations As IEnumerable(Of IValidationRuleViolation)
IEnumerable<IValidationRuleViolation> RuleViolations { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<IValidationRuleViolation>
A collection of objects representing rule validation violations.

Remarks

This collection does not include violations that were suppressed.

.NET Framework Security

See Also

Reference

IValidationResult Interface

Microsoft.VisualStudio.SharePoint.Validation Namespace