PeerContact.DisplayName Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 string DisplayName { get; set; }

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

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