MailAddress.Address Property

 

Gets the e-mail address specified when this instance was created.

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

Public ReadOnly Property Address As String

Property Value

Type: System.String

A String that contains the e-mail address.

The value returned by this property does not include the DisplayName information.

The following code example displays the address for an e-mail message recipient.

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

.NET Framework
Available since 2.0
Return to top
Show: