CryptographicAttributeObjectCollection CryptographicAttributeObjectCollection CryptographicAttributeObjectCollection CryptographicAttributeObjectCollection Class

定义

包含 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
继承
CryptographicAttributeObjectCollectionCryptographicAttributeObjectCollectionCryptographicAttributeObjectCollectionCryptographicAttributeObjectCollection
实现

示例

CryptographicAttributeObject

构造函数

CryptographicAttributeObjectCollection() CryptographicAttributeObjectCollection() CryptographicAttributeObjectCollection() CryptographicAttributeObjectCollection()

初始化 CryptographicAttributeObjectCollection 类的新实例。Initializes a new instance of the CryptographicAttributeObjectCollection class.

CryptographicAttributeObjectCollection(CryptographicAttributeObject) CryptographicAttributeObjectCollection(CryptographicAttributeObject) CryptographicAttributeObjectCollection(CryptographicAttributeObject) CryptographicAttributeObjectCollection(CryptographicAttributeObject)

初始化 CryptographicAttributeObjectCollection 类的新实例,将指定的 CryptographicAttributeObject 添加到集合中。Initializes a new instance of the CryptographicAttributeObjectCollection class, adding a specified CryptographicAttributeObject to the collection.

属性

Count Count Count Count

获取集合中的项数。Gets the number of items in the collection.

IsSynchronized IsSynchronized IsSynchronized IsSynchronized

获取一个值,该值指示对集合的访问是否是同步的或线程安全的。Gets a value that indicates whether access to the collection is synchronized, or thread safe.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

获取集合中指定索引位置的 CryptographicAttributeObject 对象。Gets the CryptographicAttributeObject object at the specified index in the collection.

SyncRoot SyncRoot SyncRoot SyncRoot

获取用于同步访问集合的 Object 对象。Gets an Object object used to synchronize access to the collection.

方法

Add(AsnEncodedData) Add(AsnEncodedData) Add(AsnEncodedData) Add(AsnEncodedData)

将指定的 AsnEncodedData 对象添加到集合。Adds the specified AsnEncodedData object to the collection.

Add(CryptographicAttributeObject) Add(CryptographicAttributeObject) Add(CryptographicAttributeObject) Add(CryptographicAttributeObject)

将指定的 CryptographicAttributeObject 对象添加到集合。Adds the specified CryptographicAttributeObject object to the collection.

CopyTo(CryptographicAttributeObject[], Int32) CopyTo(CryptographicAttributeObject[], Int32) CopyTo(CryptographicAttributeObject[], Int32) CopyTo(CryptographicAttributeObject[], Int32)

CryptographicAttributeObjectCollection 集合复制到 CryptographicAttributeObject 对象的数组。Copies the CryptographicAttributeObjectCollection collection to an array of CryptographicAttributeObject objects.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

获取集合的 CryptographicAttributeObjectEnumerator 对象。Gets a CryptographicAttributeObjectEnumerator object for the collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(CryptographicAttributeObject) Remove(CryptographicAttributeObject) Remove(CryptographicAttributeObject) Remove(CryptographicAttributeObject)

从集合中移除指定的 CryptographicAttributeObject 对象。Removes the specified CryptographicAttributeObject object from the collection.

ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

显式界面实现

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) 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.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized
ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot
IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

返回一个循环访问 CryptographicAttributeObjectCollection 集合的枚举数。Returns an enumerator that iterates through the CryptographicAttributeObjectCollection collection.

扩展方法

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

启用查询的并行化。Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

适用于