Partager via


IValidationRuleViolationCollection.Add Method

Include Protected Members
Include Inherited Members

[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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Add(IValidationRuleViolation) Adds a rule violation to the rule violations collection.
Public method Add(String, ValidationRuleViolationSeverity, String) Adds a rule violation to the rule violations collection.
Public method Add(String, ValidationRuleViolationSeverity, String, String, ISharePointProject, String) Adds a rule violation to the rule violations collection.

Top

See Also

Reference

IValidationRuleViolationCollection Interface

Microsoft.VisualStudio.SharePoint.Validation Namespace