AccessControlListContains Method

Check if the list contains the specified access control.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public bool Contains(
	AccessControl control
)

Parameters

control  AccessControl
The access control.

Return Value

Boolean
if 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 .

See Also