---
title: "Aspose::Email::Mapi::MapiProperty::GetLong method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapiproperty/getlong/"
product: "Aspose.Email for C++"
description: "Gets the first 8 bytes of the binary data as long."
---


## GetLong {#getlong}

Gets the first 8 bytes of the binary data as long.

**Returns:** The long value.

```cpp
GetLong()
```

