Jaa


ContactField.Name Property

Definition

Note

ContactField may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactSignificantOther, Contact, ContactEmail, ContactConnectedServiceAccount, ContactWebsite, ContactJobInfo, or ContactDate.

Gets the name of the field.

public:
 property Platform::String ^ Name { Platform::String ^ get(); };
winrt::hstring Name();
public string Name { get; }
var string = contactField.name;
Public ReadOnly Property Name As String

Property Value

String

Platform::String

winrt::hstring

The name of the field.

Implements

Windows requirements

App capabilities
contactsSystem

Remarks

If the ContactField was created using a ContactFieldType enumeration, then the Name property is the same as the ContactFieldType value (such as Email or PhoneNumber). If the ContactField contains a custom field, the Name property is the name of the field.

Applies to