Access Control ListContains Method
Check if the list contains the specified access control.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
if the list contains the specified access control; otherwise, .
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public bool Contains(
AccessControl control
)Parameters
- control AccessControl
- The access control.
Return Value
Booleanif the list contains the specified access control; otherwise, .
Implements
ICollectionTContains(T)Remarks
Determines whether or not the list contains the specified access control.
Exceptions
| ArgumentNullException | control is . |