CmsRecipientCollection 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
CmsRecipientCollection 类表示 CmsRecipient 对象的集合。 CmsRecipientCollection 实现 ICollection 接口。
public ref class CmsRecipientCollection sealed : System::Collections::ICollectionpublic sealed class CmsRecipientCollection : System.Collections.ICollectiontype CmsRecipientCollection = class
    interface ICollection
    interface IEnumerablePublic NotInheritable Class CmsRecipientCollection
Implements ICollection- 继承
- 
				CmsRecipientCollection
- 实现
构造函数
属性
| Count | Count 属性检索 CmsRecipientCollection 集合中的项数。 | 
| IsSynchronized | 
              IsSynchronized 属性检索对集合的访问是否为同步的,即线程安全的。 此属性始终返回  | 
| Item[Int32] | Item[Int32] 属性检索集合中指定索引处的 CmsRecipient 对象。 | 
| SyncRoot | SyncRoot 属性检索用于同步访问 Object 集合的 CmsRecipientCollection 对象。 | 
方法
| Add(CmsRecipient) | Add(CmsRecipient) 方法向 CmsRecipientCollection 集合中添加收件人。 | 
| CopyTo(Array, Int32) | CopyTo(Array, Int32) 方法将 CmsRecipientCollection 集合复制到一个数组中。 | 
| CopyTo(CmsRecipient[], Int32) | CopyTo(CmsRecipient[], Int32) 方法将 CmsRecipientCollection 集合复制到 CmsRecipient 数组中。 | 
| Equals(Object) | 确定指定对象是否等于当前对象。(继承自 Object) | 
| GetEnumerator() | GetEnumerator() 方法为 CmsRecipientEnumerator 集合返回一个 CmsRecipientCollection 对象。 | 
| GetHashCode() | 作为默认哈希函数。(继承自 Object) | 
| GetType() | 获取当前实例的 Type。(继承自 Object) | 
| MemberwiseClone() | 创建当前 Object 的浅表副本。(继承自 Object) | 
| Remove(CmsRecipient) | Remove(CmsRecipient) 方法将收件人从 CmsRecipientCollection 集合中移除。 | 
| ToString() | 返回表示当前对象的字符串。(继承自 Object) | 
显式接口实现
| ICollection.IsSynchronized | 获取一个值,该值指示是否同步对 ICollection 的访问(线程安全)。 | 
| ICollection.SyncRoot | 获取可用于同步对 ICollection 的访问的对象。 | 
| IEnumerable.GetEnumerator() | IEnumerable.GetEnumerator() 方法为 CmsRecipientEnumerator 集合返回一个 CmsRecipientCollection 对象。 | 
扩展方法
| Cast<TResult>(IEnumerable) | 将 IEnumerable 的元素强制转换为指定的类型。 | 
| OfType<TResult>(IEnumerable) | 根据指定类型筛选 IEnumerable 的元素。 | 
| AsParallel(IEnumerable) | 启用查询的并行化。 | 
| AsQueryable(IEnumerable) | 将 IEnumerable 转换为 IQueryable。 |