---
title: "Aspose::Email::Mapi::MapiPropertyContainer::GetPropertyLong method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapipropertycontainer/getpropertylong/"
product: "Aspose.Email for C++"
description: "Gets the value of the property specified by tag as Long (int64) type."
---


## GetPropertyLong {#getpropertylong}

Gets the value of the property specified by tag as Long (int64) type.

**Returns:** The value of the property. If the property does not exist, returns NULL; otherwise, returns the value.

```cpp
GetPropertyLong(int64_t tag)
```

| Parameter | Description |
| --- | --- |
| tag | The MAPI property tag. |

