PeerContact::EmailAddress Property

 

Gets or sets the email address associated with the PeerContact.

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

public:
property MailAddress^ EmailAddress {
	MailAddress^ get();
	void set(MailAddress^ value);
}

Property Value

Type: System.Net.Mail::MailAddress^

MailAddress object that contains the email address associated with the PeerContact.

Exception Condition
ObjectDisposedException

This PeerContact object has been disposed.

A MailAddress object is used to represent the mail address. The Contact Manager allows for multiple email addresses within one instance. The default value for this property is null.

.NET Framework
Available since 3.5
Return to top
Show: