Access Control ListIndex Of Method
Get the index of the specified access control.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
The index of the access control if found; otherwise, -1.
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public int IndexOf(
AccessControl control
)Parameters
- control AccessControl
- The access control.
Return Value
Int32The 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 . |