CryptographicAttributeObjectCollection 类
定义
包含 CryptographicAttributeObject 对象的集合。Contains a set of CryptographicAttributeObject objects.
public ref class CryptographicAttributeObjectCollection sealed : System::Collections::ICollection
public sealed class CryptographicAttributeObjectCollection : System.Collections.ICollection
type CryptographicAttributeObjectCollection = class
interface ICollection
interface IEnumerable
Public NotInheritable Class CryptographicAttributeObjectCollection
Implements ICollection
- 继承
-
CryptographicAttributeObjectCollection
- 实现
示例
构造函数
CryptographicAttributeObjectCollection() |
初始化 CryptographicAttributeObjectCollection 类的新实例。Initializes a new instance of the CryptographicAttributeObjectCollection class. |
CryptographicAttributeObjectCollection(CryptographicAttributeObject) |
初始化 CryptographicAttributeObjectCollection 类的新实例,将指定的 CryptographicAttributeObject 添加到集合中。Initializes a new instance of the CryptographicAttributeObjectCollection class, adding a specified CryptographicAttributeObject to the collection. |
属性
Count |
获取集合中的项数。Gets the number of items in the collection. |
IsSynchronized |
获取一个值,该值指示对集合的访问是否是同步的或线程安全的。Gets a value that indicates whether access to the collection is synchronized, or thread safe. |
Item[Int32] |
获取集合中指定索引位置的 CryptographicAttributeObject 对象。Gets the CryptographicAttributeObject object at the specified index in the collection. |
SyncRoot |
获取用于同步访问集合的 Object 对象。Gets an Object object used to synchronize access to the collection. |
方法
Add(AsnEncodedData) |
将指定的 AsnEncodedData 对象添加到集合。Adds the specified AsnEncodedData object to the collection. |
Add(CryptographicAttributeObject) |
将指定的 CryptographicAttributeObject 对象添加到集合。Adds the specified CryptographicAttributeObject object to the collection. |
CopyTo(CryptographicAttributeObject[], Int32) |
将 CryptographicAttributeObjectCollection 集合复制到 CryptographicAttributeObject 对象的数组。Copies the CryptographicAttributeObjectCollection collection to an array of CryptographicAttributeObject objects. |
Equals(Object) |
确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
GetEnumerator() |
获取集合的 CryptographicAttributeObjectEnumerator 对象。Gets a CryptographicAttributeObjectEnumerator object for the collection. |
GetHashCode() |
用作默认哈希函数。Serves as the default hash function. (继承自 Object) |
GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
Remove(CryptographicAttributeObject) |
从集合中移除指定的 CryptographicAttributeObject 对象。Removes the specified CryptographicAttributeObject object from the collection. |
ToString() |
返回一个表示当前对象的 string。Returns a string that represents the current object. (继承自 Object) |
显式界面实现
ICollection.CopyTo(Array, Int32) |
将此 CryptographicAttributeObjectCollection 集合的元素复制到 Array 数组,从特定的索引开始。Copies the elements of this CryptographicAttributeObjectCollection collection to an Array array, starting at a particular index. |
ICollection.IsSynchronized | |
ICollection.SyncRoot | |
IEnumerable.GetEnumerator() |
返回一个循环访问 CryptographicAttributeObjectCollection 集合的枚举数。Returns an enumerator that iterates through the CryptographicAttributeObjectCollection collection. |
扩展方法
Cast<TResult>(IEnumerable) |
将 IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
启用查询的并行化。Enables parallelization of a query. |
AsQueryable(IEnumerable) |
将 IEnumerable 转换为 IQueryable。Converts an IEnumerable to an IQueryable. |