Cms Recipient CollectionContains Method
Check if the collection contains a recipient.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
if the specified recipient exists; otherwise, .
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public bool Contains(
CmsRecipient recipient
)Parameters
- recipient CmsRecipient
- The recipient.
Return Value
Booleanif the specified recipient exists; otherwise, .
Implements
ICollectionTContains(T)Remarks
Determines whether the collection contains the specified recipient.
Exceptions
| ArgumentNullException | recipient is . |