КриптоПро .NET
Search Results for

    Показать/Скрыть содержание

    Class CpCmsRecipientCollection

    Inheritance
    object
    CpCmsRecipientCollection
    Implements
    ICollection
    IEnumerable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CryptoPro.Security.Cryptography.Pkcs
    Assembly: CryptoPro.Security.Cryptography.Pkcs.dll
    Syntax
    public sealed class CpCmsRecipientCollection : ICollection, IEnumerable

    Constructors

    CpCmsRecipientCollection()

    Declaration
    public CpCmsRecipientCollection()

    CpCmsRecipientCollection(CpCmsRecipient)

    Declaration
    public CpCmsRecipientCollection(CpCmsRecipient recipient)
    Parameters
    Type Name Description
    CpCmsRecipient recipient

    CpCmsRecipientCollection(SubjectIdentifierType, CpX509Certificate2Collection)

    Declaration
    public CpCmsRecipientCollection(SubjectIdentifierType recipientIdentifierType, CpX509Certificate2Collection certificates)
    Parameters
    Type Name Description
    SubjectIdentifierType recipientIdentifierType
    CpX509Certificate2Collection certificates

    Properties

    Count

    Gets the number of elements contained in the ICollection.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int

    The number of elements contained in the ICollection.

    IsSynchronized

    Gets a value indicating whether access to the ICollection is synchronized (thread safe).

    Declaration
    public bool IsSynchronized { get; }
    Property Value
    Type Description
    bool

    true if access to the ICollection is synchronized (thread safe); otherwise, false.

    this[int]

    Declaration
    public CpCmsRecipient this[int index] { get; }
    Parameters
    Type Name Description
    int index
    Property Value
    Type Description
    CpCmsRecipient

    SyncRoot

    Gets an object that can be used to synchronize access to the ICollection.

    Declaration
    public object SyncRoot { get; }
    Property Value
    Type Description
    object

    An object that can be used to synchronize access to the ICollection.

    Methods

    Add(CpCmsRecipient)

    Declaration
    public int Add(CpCmsRecipient recipient)
    Parameters
    Type Name Description
    CpCmsRecipient recipient
    Returns
    Type Description
    int

    CopyTo(CpCmsRecipient[], int)

    Declaration
    public void CopyTo(CpCmsRecipient[] array, int index)
    Parameters
    Type Name Description
    CpCmsRecipient[] array
    int index

    CopyTo(Array, int)

    Copies the elements of the ICollection to an Array, starting at a particular Array index.

    Declaration
    public void CopyTo(Array array, int index)
    Parameters
    Type Name Description
    Array array

    The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.

    int index

    The zero-based index in array at which copying begins.

    Exceptions
    Type Condition
    ArgumentNullException

    array is null.

    ArgumentOutOfRangeException

    index is less than zero.

    ArgumentException

    array is multidimensional.

    -or-

    The number of elements in the source ICollection is greater than the available space from index to the end of the destination array.

    -or-

    The type of the source ICollection cannot be cast automatically to the type of the destination array.

    GetEnumerator()

    Declaration
    public CpCmsRecipientEnumerator GetEnumerator()
    Returns
    Type Description
    CpCmsRecipientEnumerator

    Remove(CpCmsRecipient)

    Declaration
    public void Remove(CpCmsRecipient recipient)
    Parameters
    Type Name Description
    CpCmsRecipient recipient

    Implements

    ICollection
    IEnumerable
    В этом разделе
    Наверх Generated by DocFX