System.Net.Mail.MailAddressCollection.ToString Method

Returns a string representation of the e-mail addresses in this System.Net.Mail.MailAddressCollection object.

Syntax

public override string ToString ()

Returns

A string containing the e-mail addresses in this collection.

Remarks

When this collection contains multiple addresses, they are separated by a comma character (",").

Requirements

Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0