Share via


PhoneLineDetails.DisplayName Property

Definition

Gets the display name of the phone line.

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

Property Value

String

Platform::String

winrt::hstring

The display name of the phone line.

Windows requirements

App capabilities
accessoryManager

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to