---
title: "Aspose::Email::Mapi::KnownPropertyList::Locality method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/locality/"
product: "Aspose.Email for C++"
description: "Contains the name of the mail user's locality, such as the town or city."
---


## Locality {#locality}

Contains the name of the mail user's locality, such as the town or city. Area: Address Properties Canonical name: PidTagLocality Alternate names: PR_LOCALITY, PR_LOCALITY_A, PR_LOCALITY_W, PR_BUSINESS_ADDRESS_LOCALITY, PR_BUSINESS_ADDRESS_LOCALITY_A,

**Returns:** System::SharedPtr < PidTagPropertyDescriptor > Aspose::Email::Mapi::

```cpp
Locality()
```

