MailMill .NET Class Library

EmailArray.Value Property

Gets or sets the value of all items in the EmailArray.

public string Value {get; set;}

Exceptions

Exception Type Condition
ArgumentNullException Value is set with a null reference (Nothing in Visual Basic).
MailMillException Value is set with an invalid email address.

Example

This sample show how to get the value of the entire EmailArray.

EmailArray ea  = new EmailArray();
ea.Add("daniel@emilltest.com");
ea.Add("philippe@emilltest.com");
Console.WriteLine(ea.Value);
/* This code produces the following output:

daniel@emilltest.com,philippe@emilltest.com*/

See Also

EmailArray Class | MailMill Namespace | ToString | operator string