IValidationContext.RuleViolations Property
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.