Share via


ContactAddress.Locality Property

Definition

Gets or sets the locality of a contact address.

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

void Locality(winrt::hstring value);
public string Locality { get; set; }
var string = contactAddress.locality;
contactAddress.locality = string;
Public Property Locality As String

Property Value

String

Platform::String

winrt::hstring

The locality of a contact address.

Windows requirements

App capabilities
ID_CAP_CONTACTS [Windows Phone]

Applies to