IValidationRuleViolationCollection.Add Method (IValidationRuleViolation)

Adds a rule violation to the rule violations collection.

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

Syntax

'Declaration
Sub Add ( _
    ruleViolation As IValidationRuleViolation _
)
void Add(
    IValidationRuleViolation ruleViolation
)

Parameters

.NET Framework Security

See Also

Reference

IValidationRuleViolationCollection Interface

Add Overload

Microsoft.VisualStudio.SharePoint.Validation Namespace