MailMill .NET Class Library

EmailArray.Add Method (Object)

Adds an email address object to the end of the EmailArray.

public override int Add(
   object value
);

Parameters

value
The email address to be added to the end of the EmailArray.

Return Value

The EmailArray index at which the value has been added.

Implements

IList.Add

Remarks

value must be of type string and must contain a valid email address.

Exceptions

Exception Type Condition
ArgumentNullException value is a null reference (Nothing in Visual Basic).
ArgumentException value is not of type string
-or-
value is an empty string.
MailMillException value is an invalid email address.

See Also

EmailArray Class | MailMill Namespace | EmailArray.Add Overload List | System.String