Click or drag to resize
MimeKit

CmsRecipientCollectionContains Method

Checks if the collection contains the specified recipient.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public bool Contains(
	CmsRecipient recipient
)

Parameters

recipient  CmsRecipient
The recipient.

Return Value

Boolean

Field Value

Boolean
true if the specified recipient exists; otherwise

Field Value

Boolean
false.

Implements

ICollectionTContains(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionrecipient is null.
Remarks
Determines whether or not the collection contains the specified recipient.
See Also