MailAddressCollection.ToString Method ()

 

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

Namespace:   System.Net.Mail
Assembly:  System (in System.dll)

Public Overrides Function ToString As String

Return Value

Type: System.String

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

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

The following example displays the e-mail addresses in the MailAddressCollection that are returned by the Bcc property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: