AccessRightsContains Method

Checks if the set of access rights contains the specified right.

Definition

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

Parameters

right  AccessRight
The access right.

Return Value

Boolean
if the specified right exists; otherwise, .

Implements

ICollectionTContains(T)

Remarks

Determines whether or not the set of access rights already contains the specified right

See Also