---
title: "Aspose::Email::Mapi::MapiPropertyContainer::GetProperty method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapipropertycontainer/getproperty/"
product: "Aspose.Email for C++"
description: "Gets MAPI property by property descriptor."
---


## GetProperty {#getproperty}

Gets MAPI property by property descriptor.

**Returns:** Mapi property if it is found, otherwise null.

```cpp
GetProperty(System::SharedPtr < PropertyDescriptor > pd)
```

| Parameter | Description |
| --- | --- |
| pd | Property descriptor for looked property |

