
## GetPropertyString (1 of 2) {#getpropertystring_1}

Gets the string value of the property specified by tag.

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

```cpp
GetPropertyString(int64_t tag)
```

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

---

## GetPropertyString (2 of 2) {#getpropertystring_2}

Gets the string value of the property specified by tag.

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

```cpp
GetPropertyString(int64_t tag, int32_t codepage)
```

| Parameter | Description |
| --- | --- |
| tag | The MAPI property tag. |
| codepage | The specified codepage used to get string value. |

