Compartir a través de


IValidationContext.RuleViolations Property

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

Gets the current collection of validation rule violations.

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

Syntax

'Declaration
ReadOnly Property RuleViolations As IValidationRuleViolationCollection
IValidationRuleViolationCollection RuleViolations { get; }

Property Value

Type: Microsoft.VisualStudio.SharePoint.Validation.IValidationRuleViolationCollection
An object representing validation rule violations.

Remarks

Validation rules should add this collection as violations are found.

.NET Framework Security

See Also

Reference

IValidationContext Interface

Microsoft.VisualStudio.SharePoint.Validation Namespace