Share via


IValidationContext.RuleViolations Property

Definition

Gets the current collection of validation rule violations.

public:
 property Microsoft::VisualStudio::SharePoint::Validation::IValidationRuleViolationCollection ^ RuleViolations { Microsoft::VisualStudio::SharePoint::Validation::IValidationRuleViolationCollection ^ get(); };
public Microsoft.VisualStudio.SharePoint.Validation.IValidationRuleViolationCollection RuleViolations { get; }
member this.RuleViolations : Microsoft.VisualStudio.SharePoint.Validation.IValidationRuleViolationCollection
Public ReadOnly Property RuleViolations As IValidationRuleViolationCollection

Property Value

An object representing validation rule violations.

Remarks

Validation rules should add this collection as violations are found.

Applies to