Cms Recipient Collection Class
A collection of CmsRecipient objects.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public class CmsRecipientCollection : ICollection<CmsRecipient>,
IEnumerable<CmsRecipient>, IEnumerable- Inheritance
- Object CmsRecipientCollection
Remarks
If the X.509 certificates are known for each of the recipients, you
may wish to use a CmsRecipientCollection as opposed to
using the methods that take a list of MailboxAddress
objects.
Constructors
| CmsRecipientCollection | Initialize a new instance of the CmsRecipientCollection class. |
Properties
| Count | Get the number of recipients in the collection. |
| IsReadOnly | Get a value indicating whether the CmsRecipientCollection is read only. |
Methods
| Add | Add a recipient. |
| Clear | Clear the recipient collection. |
| Contains | Check if the collection contains a recipient. |
| CopyTo | Copy all of the recipients in the CmsRecipientCollection to the specified array. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetEnumerator | Gets an enumerator for the collection of recipients. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Remove | Remove a recipient. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |