Share via


KnownContactProperties.DisplayName Property

Definition

Gets the DisplayName property name.

public:
 static property Platform::String ^ DisplayName { Platform::String ^ get(); };
static winrt::hstring DisplayName();
public static string DisplayName { get; }
var string = KnownContactProperties.displayName;
Public Shared ReadOnly Property DisplayName As String

Property Value

String

Platform::String

winrt::hstring

The DisplayName property name.

Windows requirements

App capabilities
ID_CAP_CONTACTS [Windows Phone]

Remarks

The value returned for the DisplayName key in a contact Properties collection is a string.

Applies to