表示验证规则冲突的集合。
命名空间: Microsoft.VisualStudio.SharePoint.Validation
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Public Interface IValidationRuleViolationCollection _
Inherits ISharePointCollection(Of IValidationRuleViolation), INotifyCollectionChanged, INotifyPropertyChanged, _
IEnumerable(Of IValidationRuleViolation), IEnumerable
public interface IValidationRuleViolationCollection : ISharePointCollection<IValidationRuleViolation>,
INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<IValidationRuleViolation>, IEnumerable
IValidationRuleViolationCollection 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Count | 获取集合中项的数目。 (继承自 ISharePointCollection<T>。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Add(IValidationRuleViolation) | 向规则冲突集合中添加规则冲突。 |
![]() |
Add(String, ValidationRuleViolationSeverity, String) | 向规则冲突集合中添加规则冲突。 |
![]() |
Add(String, ValidationRuleViolationSeverity, String, String, ISharePointProject, String) | 向规则冲突集合中添加规则冲突。 |
![]() |
AddRange | 向规则冲突集合中添加规则冲突集合。 |
![]() |
Contains | 获取提供的项是否为此集合的成员。 (继承自 ISharePointCollection<T>。) |
![]() |
CopyTo | 将此集合中的项复制到数组中。 (继承自 ISharePointCollection<T>。) |
![]() |
GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable<IValidationRuleViolation>。) |
![]() |
GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。) |
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
CollectionChanged | 当集合更改时发生。 (继承自 INotifyCollectionChanged。) |
![]() |
PropertyChanged | 在更改属性值时发生。 (继承自 INotifyPropertyChanged。) |
页首