MailKit Documentation
MailKit Documentation
API Reference
MimeKit.Cryptography
CmsRecipientCollection Class
CmsRecipientCollection Methods
Add Method
Clear Method
Contains Method
CopyTo Method
GetEnumerator Method
Remove Method
Cms
Recipient
Collection
Contains Method
Checks if the collection contains the specified recipient.
Namespace:
MimeKit.Cryptography
Assembly:
MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
Copy
public
bool
Contains
(
CmsRecipient
recipient
)
Parameters
recipient
CmsRecipient
The recipient.
Return Value
Boolean
if the specified recipient exists; otherwise,
.
Implements
ICollection
T
Contains(T)
Exceptions
Exception
Condition
ArgumentNullException
recipient
is
.
Remarks
Determines whether the collection contains the specified recipient.
See Also
Reference
CmsRecipientCollection Class
MimeKit.Cryptography Namespace
Copyright © 2013-2025 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast