AccessControlListIndexOf Method

Get the index of the specified access control.

Definition

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

Parameters

control  AccessControl
The access control.

Return Value

Int32
The index of the access control if found; otherwise, -1.

Implements

IListTIndexOf(T)

Remarks

Gets the index of the specified access control.

Exceptions

ArgumentNullException control is .

See Also