Partager via


IValidationRuleViolationCollection.Add Method (IValidationRuleViolation)

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

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