CmsRecipientCollection Class
The CmsRecipientCollection class represents a set of CmsRecipient objects. CmsRecipientCollection implements the ICollection interface.
Assembly: System.Security (in System.Security.dll)
| Name | Description | |
|---|---|---|
![]() | CmsRecipientCollection() | The CmsRecipientCollection constructor creates an instance of the CmsRecipientCollection class. |
![]() | CmsRecipientCollection(CmsRecipient^) | The CmsRecipientCollection constructor creates an instance of the CmsRecipientCollection class and adds the specified recipient. |
![]() | CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection^) | The CmsRecipientCollection constructor creates an instance of the CmsRecipientCollection class and adds recipients based on the specified subject identifier and set of certificates that identify the recipients. |
| Name | Description | |
|---|---|---|
![]() | Count | The Count property retrieves the number of items in the CmsRecipientCollection collection. |
![]() | IsSynchronized | The IsSynchronized property retrieves whether access to the collection is synchronized, or thread safe. This property always returns false, which means that the collection is not thread safe. |
![]() | Item[Int32] | The Item property retrieves the CmsRecipient object at the specified index in the collection. |
![]() | SyncRoot |
| Name | Description | |
|---|---|---|
![]() | Add(CmsRecipient^) | The Add method adds a recipient to the CmsRecipientCollection collection. |
![]() | CopyTo(Array^, Int32) | The CopyTo method copies the CmsRecipientCollection collection to an array. |
![]() | CopyTo(array<CmsRecipient^>^, Int32) | The CopyTo method copies the CmsRecipientCollection collection to a CmsRecipient array. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetEnumerator() | The GetEnumerator method returns a CmsRecipientEnumerator object for the CmsRecipientCollection collection. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | Remove(CmsRecipient^) | The Remove method removes a recipient from the CmsRecipientCollection collection. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable::GetEnumerator() | The IEnumerable::GetEnumerator method returns a CmsRecipientEnumerator object for the CmsRecipientCollection collection. |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



