---
title: "Aspose::Email::Mapi::MapiPropertyContainer::TryGetPropertyInt32 method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapipropertycontainer/trygetpropertyint32/"
product: "Aspose.Email for C++"
description: "Gets the value of the specified property as Int32 type."
---


## TryGetPropertyInt32 {#trygetpropertyint32}

Gets the value of the specified property as Int32 type. A return value indicates whether the operation succeeded.

**Returns:** true if s was converted successfully; otherwise, false.

```cpp
TryGetPropertyInt32(int64_t tag, int32_t & value)
```

| Parameter | Description |
| --- | --- |
| tag | The MAPI property tag. |
| value | When this method returns, contains the value of the specified property, if the property exists. This parameter is passed uninitialized. |

