IValidationRuleViolationCollection Interface
Represents a collection of validation rule violations.
Namespace: Microsoft.VisualStudio.SharePoint.Validation
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Public Interface IValidationRuleViolationCollection _
Inherits ISharePointCollection(Of IValidationRuleViolation), INotifyCollectionChanged, INotifyPropertyChanged, _
IEnumerable(Of IValidationRuleViolation), IEnumerable
public interface IValidationRuleViolationCollection : ISharePointCollection<IValidationRuleViolation>,
INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<IValidationRuleViolation>, IEnumerable
The IValidationRuleViolationCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of items in the collection. (Inherited from ISharePointCollection<T>.) |
Top
Methods
Name | Description | |
---|---|---|
Add(IValidationRuleViolation) | Adds a rule violation to the rule violations collection. | |
Add(String, ValidationRuleViolationSeverity, String) | Adds a rule violation to the rule violations collection. | |
Add(String, ValidationRuleViolationSeverity, String, String, ISharePointProject, String) | Adds a rule violation to the rule violations collection. | |
AddRange | Adds a collection of rule violations to the rule violations collection. | |
Contains | Gets whether the provided item is a member of this collection. (Inherited from ISharePointCollection<T>.) | |
CopyTo | Copies items from this collection into an array. (Inherited from ISharePointCollection<T>.) | |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IValidationRuleViolation>.) |
Top
Events
Name | Description | |
---|---|---|
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged.) | |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top