ReferenceList 类 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 XML 加密中使用的 <ReferenceList> 元素。 此类不能被继承。
public ref class ReferenceList sealed : System::Collections::IListpublic sealed class ReferenceList : System.Collections.IListtype ReferenceList = class
    interface ICollection
    interface IEnumerable
    interface IListtype ReferenceList = class
    interface IList
    interface ICollection
    interface IEnumerablePublic NotInheritable Class ReferenceList
Implements IList- 继承
- 
				ReferenceList
- 实现
注解
类 ReferenceList 表示 <ReferenceList> 由 XML 加密规范定义的加密文档 XML 签名的元素。
该ReferenceList类包含对EncryptedData其他元素中包含的EncryptedKey密钥加密的引用和EncryptedKey元素。 该 ReferenceList 类使用 DataReference 元素引用 EncryptedData 元素,并使用 KeyReference 元素引用 EncryptedKey 元素。
只能向集合添加 DataReference 对象或 KeyReference 对象 ReferenceList 。
有关 XML 加密标准的详细信息,请参阅 XML 加密语法和处理版本 1.1。
构造函数
| ReferenceList() | 初始化 ReferenceList 类的新实例。 | 
属性
| Count | 获取 ReferenceList 对象中包含的元素个数。 | 
| IsSynchronized | 获取一个值,该值指示是否同步(线程安全)对 ReferenceList 对象的版本无关的访问。 | 
| ItemOf[Int32] | 获取或设置位于指定索引处的 DataReference 或 KeyReference 对象。 | 
| SyncRoot | 获取一个对象,该对象可用于同步对 ReferenceList 对象的访问。 | 
方法
| Add(Object) | 将 DataReference 或 KeyReference 对象添加到 ReferenceList 集合。 | 
| Clear() | 从 ReferenceList 集合中删除所有项。 | 
| Contains(Object) | 确定 ReferenceList 集合是否包含特定的 DataReference 或 KeyReference 对象。 | 
| CopyTo(Array, Int32) | 从指定的数组索引处开始,将 ReferenceList 对象的元素复制到数组中。 | 
| Equals(Object) | 确定指定对象是否等于当前对象。(继承自 Object) | 
| GetEnumerator() | 返回循环访问 ReferenceList 集合的枚举器。 | 
| GetHashCode() | 作为默认哈希函数。(继承自 Object) | 
| GetType() | 获取当前实例的 Type。(继承自 Object) | 
| IndexOf(Object) | 确定 ReferenceList 集合中特定项的索引。 | 
| Insert(Int32, Object) | 将 DataReference 或 KeyReference 对象插入到 ReferenceList 集合中的指定位置。 | 
| Item(Int32) | 返回位于指定索引处的 DataReference 或 KeyReference 对象。 | 
| MemberwiseClone() | 创建当前 Object 的浅表副本。(继承自 Object) | 
| Remove(Object) | 从 ReferenceList 集合中移除特定的 DataReference 或 KeyReference 对象。 | 
| RemoveAt(Int32) | 移除位于指定索引处的 DataReference 或 KeyReference 对象。 | 
| ToString() | 返回表示当前对象的字符串。(继承自 Object) | 
显式接口实现
| IList.IsFixedSize | 有关此成员的说明,请参见 IsFixedSize。 | 
| IList.IsReadOnly | 有关此成员的说明,请参见 IsReadOnly。 | 
| IList.Item[Int32] | 有关此成员的说明,请参见 Item[Int32]。 | 
扩展方法
| Cast<TResult>(IEnumerable) | 将 IEnumerable 的元素强制转换为指定的类型。 | 
| OfType<TResult>(IEnumerable) | 根据指定类型筛选 IEnumerable 的元素。 | 
| AsParallel(IEnumerable) | 启用查询的并行化。 | 
| AsQueryable(IEnumerable) | 将 IEnumerable 转换为 IQueryable。 |