SignerInfoCollection SignerInfoCollection SignerInfoCollection SignerInfoCollection Class

定义

SignerInfoCollection 类表示 SignerInfo 对象的集合。The SignerInfoCollection class represents a collection of SignerInfo objects. SignerInfoCollection 实现 ICollection 接口。SignerInfoCollection implements the ICollection interface.

public ref class SignerInfoCollection sealed : System::Collections::ICollection
public sealed class SignerInfoCollection : System.Collections.ICollection
type SignerInfoCollection = class
    interface ICollection
    interface IEnumerable
Public NotInheritable Class SignerInfoCollection
Implements ICollection
继承
SignerInfoCollectionSignerInfoCollectionSignerInfoCollectionSignerInfoCollection
实现

注解

此类没有公共构造函数;因此, 不能对其进行公共实例化。This class does not have a public constructor; therefore, it cannot be publicly instantiated. 它是可通过SignedCms.SignerInfos属性SignerInfo.CounterSignerInfos或属性访问的只读类。It is a read-only class accessible from the SignedCms.SignerInfos property or the SignerInfo.CounterSignerInfos property.

属性

Count Count Count Count

Count 属性检索 SignerInfoCollection 集合中的项数。The Count property retrieves the number of items in the SignerInfoCollection collection.

IsSynchronized IsSynchronized IsSynchronized IsSynchronized

IsSynchronized 属性检索对集合的访问是否为同步的,即线程安全的。The IsSynchronized property retrieves whether access to the collection is synchronized, or thread safe. 此属性始终返回 false,表示集合不是线程安全的。This property always returns false, which means the collection is not thread safe.

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

Item[Int32] 属性检索集合中指定索引处的 SignerInfo 对象。The Item[Int32] property retrieves the SignerInfo object at the specified index in the collection.

SyncRoot SyncRoot SyncRoot SyncRoot

SyncRoot 属性检索用于同步对 Object 集合的访问的 SignerInfoCollection 对象。The SyncRoot property retrieves an Object object is used to synchronize access to the SignerInfoCollection collection.

方法

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

CopyTo(Array, Int32) 方法将 SignerInfoCollection 集合复制到一个数组中。The CopyTo(Array, Int32) method copies the SignerInfoCollection collection to an array.

CopyTo(SignerInfo[], Int32) CopyTo(SignerInfo[], Int32) CopyTo(SignerInfo[], Int32) CopyTo(SignerInfo[], Int32)

CopyTo(SignerInfo[], Int32) 方法将 SignerInfoCollection 集合复制到 SignerInfo 数组中。The CopyTo(SignerInfo[], Int32) method copies the SignerInfoCollection collection to a SignerInfo array.

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()

GetEnumerator() 方法为 SignerInfoEnumerator 集合返回一个 SignerInfoCollection 对象。The GetEnumerator() method returns a SignerInfoEnumerator object for the SignerInfoCollection 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)
ToString() ToString() ToString() ToString()

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

(Inherited from Object)

显式界面实现

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

IEnumerable.GetEnumerator() 方法为 SignerInfoEnumerator 集合返回一个 SignerInfoCollection 对象。The IEnumerable.GetEnumerator() method returns a SignerInfoEnumerator object for the SignerInfoCollection 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.

适用于