PeerContact::DisplayName Property

 

Gets or sets a string which represents the display name of the PeerContact.

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

public:
property String^ DisplayName {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

String which represents the display name of this PeerContact. Unless explicitly specified, the default value for all properties is null for reference types.

Exception Condition
ObjectDisposedException

This PeerContact object has been disposed.

A display name may be used to differentiate contacts in a ContactManager in instances where a PeerContact may have multiple email addresses, or if there are multiple peers with the same display name.

.NET Framework
Available since 3.5
Return to top
Show: