SignerInfoCollection 类
定义
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
- 继承
-
SignerInfoCollection
- 实现
注解
此类没有公共构造函数;因此, 不能对其进行公共实例化。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 属性检索 SignerInfoCollection 集合中的项数。The Count property retrieves the number of items in the SignerInfoCollection collection. |
IsSynchronized |
IsSynchronized 属性检索对集合的访问是否为同步的,即线程安全的。The IsSynchronized property retrieves whether access to the collection is synchronized, or thread safe. 此属性始终返回 |
Item[Int32] |
Item[Int32] 属性检索集合中指定索引处的 SignerInfo 对象。The Item[Int32] property retrieves the SignerInfo object at the specified index in the collection. |
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) 方法将 SignerInfoCollection 集合复制到一个数组中。The CopyTo(Array, Int32) method copies the SignerInfoCollection collection to an array. |
CopyTo(SignerInfo[], Int32) |
CopyTo(SignerInfo[], Int32) 方法将 SignerInfoCollection 集合复制到 SignerInfo 数组中。The CopyTo(SignerInfo[], Int32) method copies the SignerInfoCollection collection to a SignerInfo array. |
Equals(Object) |
确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
GetEnumerator() |
GetEnumerator() 方法为 SignerInfoEnumerator 集合返回一个 SignerInfoCollection 对象。The GetEnumerator() method returns a SignerInfoEnumerator object for the SignerInfoCollection 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) |
ToString() |
返回一个表示当前对象的 string。Returns a string that represents the current object. (继承自 Object) |
显式界面实现
IEnumerable.GetEnumerator() |
IEnumerable.GetEnumerator() 方法为 SignerInfoEnumerator 集合返回一个 SignerInfoCollection 对象。The IEnumerable.GetEnumerator() method returns a SignerInfoEnumerator object for the SignerInfoCollection 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. |