ContactLocationField.City Property

Definition

Gets the contact's city.

Note

ContactLocationField may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress.

public:
 property Platform::String ^ City { Platform::String ^ get(); };
winrt::hstring City();
public string City { get; }
var string = contactLocationField.city;
Public ReadOnly Property City As String

Property Value

String

Platform::String

winrt::hstring

The contact's city.

Windows requirements

App capabilities
contactsSystem

Applies to