Contact.HonorificNamePrefix Property

Definition

Gets or sets the honorific prefix for the name for a contact. The maximum string length for the honorific prefix is 32 characters.

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

void HonorificNamePrefix(winrt::hstring value);
public string HonorificNamePrefix { get; set; }
var string = contact.honorificNamePrefix;
contact.honorificNamePrefix = string;
Public Property HonorificNamePrefix As String

Property Value

String

Platform::String

winrt::hstring

The honorific prefix for the name for a contact. The maximum string length for the honorific prefix is 32 characters.

Windows requirements

App capabilities
contactsSystem

Remarks

Common name prefixes are Ms, Miss, Mrs, Mr, Dr, and so on.

Applies to