InternetAddressListIndexOf Method

Get the index of the specified address.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int IndexOf(
	InternetAddress address
)

Parameters

address  InternetAddress
The address to get the index of.

Return Value

Int32
The index of the specified address if found; otherwise -1.

Implements

IListTIndexOf(T)

Remarks

Finds the index of the specified address, if it exists.

Exceptions

ArgumentNullException address is .

See Also