PhoneCallOrigin.DisplayName 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 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
属性值
呼叫源管理器的显示名称。
- 属性
Windows 要求
设备系列 |
Windows Mobile Extension SDK (在 10.0.10586.0 中引入)
|
API contract |
Windows.ApplicationModel.Calls.CallsPhoneContract (在 v2.0 中引入)
|
应用功能 |
phoneCallHistory
phoneCallHistorySystem
|