Click or drag to resize
MimeKit

InternetAddressListIndexOf Method

Get the index of the specified address.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
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)
Exceptions
ExceptionCondition
ArgumentNullExceptionaddress is null.
Remarks
Finds the index of the specified address, if it exists.
See Also