共用方式為


PhoneCallOrigin.DisplayName 屬性

定義

取得或設定 PhoneCallOriginManager 物件的顯示名稱。

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

void DisplayName(winrt::hstring value);
/// [get: Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
winrt::hstring DisplayName();

void DisplayName(winrt::hstring value);
public string DisplayName { get; set; }
public string DisplayName { [Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")] get; [Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")] set; }
var string = phoneCallOrigin.displayName;
phoneCallOrigin.displayName = string;
Public Property DisplayName As String

屬性值

String

Platform::String

winrt::hstring

呼叫來源管理員的顯示名稱。

屬性

Windows 需求

裝置系列
Windows Mobile Extension SDK (已於 10.0.10586.0 引進)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (已於 v2.0 引進)
應用程式功能
phoneCallHistory phoneCallHistorySystem

適用於