---
title: "Aspose::Email::Mapi::MapiProperty::SetTag method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapiproperty/settag/"
product: "Aspose.Email for C++"
description: "Sets the tag."
---


## SetTag {#settag}

Sets the tag.

**Returns:** void Aspose::Email::Mapi::

```cpp
SetTag(int64_t tag)
```

| Parameter | Description |
| --- | --- |
| tag | The tag. |

