Share via


PhoneCallOrigin.Category Property

Definition

Gets or sets the category for the caller.

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

void Category(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 Category();

void Category(winrt::hstring value);
public string Category { get; set; }
public string Category { [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.category;
phoneCallOrigin.category = string;
Public Property Category As String

Property Value

String

Platform::String

winrt::hstring

The caller's category. A couple of examples include "house agent" or "financial service."

Attributes

Windows requirements

App capabilities
phoneCallHistory phoneCallHistorySystem

Applies to