表示SPAlert对象的集合。
SPAlertCollection 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
Count | 获取集合中的警报数量。 (覆盖 SPBaseCollection.Count。) |
![]() |
Item[Guid] | 从集合中获取具有指定 GUID 的警报。在 C# 中,此属性是SPAlertCollection类的索引器。 |
![]() |
Item[Int32] | 获取集合中指定索引处的警报。在 C# 中,此属性是SPAlertCollection类的索引器。 |
![]() |
Site | 获取集合的网站集。此属性已被否决。 |
![]() |
Web | 获取集合的父网站。此属性已被否决。 |
页首
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Add() | 将警报添加到通知指定的标题、 列表、 事件类型的位掩码,时间间隔和筛选器的集合。 |
![]() |
Add(SPList, SPEventType, SPAlertFrequency) | 不建议使用。改为使用Add(SPList, SPEventType, SPAlertFrequency, SPAlertDeliveryChannels) 。 |
![]() |
Add(SPListItem, SPEventType, SPAlertFrequency) | 将警报添加到基于所指定的事件类型和时间间隔的列表项的通知的集合。不建议使用此方法重载。改为使用Add(SPListItem, SPEventType, SPAlertFrequency, SPAlertDeliveryChannels) 。 |
![]() |
Add(SPList, SPEventType, SPAlertFrequency, SPAlertDeliveryChannels) | 向集合中添加一个警报的列表。 |
![]() |
Add(SPListItem, SPEventType, SPAlertFrequency, SPAlertDeliveryChannels) | 向集合中添加一个列表项的通知。 |
![]() |
Delete(Guid) | 从集合中删除具有指定 GUID 的警报。 |
![]() |
Delete(Int32) | 删除集合中的指定索引处的通知。 |
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetEnumerator | 获取要循环访问集合的枚举。 (从 SPBaseCollection 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
GetTypedEnumerator<T> | 返回以循环访问集合的类型安全枚举。 (从 SPBaseCollection 继承。) |
![]() |
GetUniqueUsers | 返回一个字符串数组,而不列出这些不止一次列出的网站的所有用户,谁收到列表项的通知。 |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
显式 接口 实现
| 名称 | 说明 | |
|---|---|---|
![]() ![]() |
ICollection.CopyTo | 将集合中的元素复制到的指定索引处开始的数组。 (从 SPBaseCollection 继承。) |
![]() ![]() |
ICollection.IsSynchronized | 获取一个布尔值,指示集合访问是同步还是线程安全。 (从 SPBaseCollection 继承。) |
![]() ![]() |
ICollection.SyncRoot | 获取用于同步到集合的对象。 (从 SPBaseCollection 继承。) |
页首
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)