Dela via


ContactAddress.Locality Property

Definition

Gets or sets the locality of a contact address. The maximum string length for the locality is 1024 characters.

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. The maximum string length for the locality is 1024 characters.

Windows requirements

App capabilities
contactsSystem

Applies to