---
title: "Aspose::Email::Mapi::MapiTask::set_History method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapitask/set_history/"
product: "Aspose.Email for C++"
description: "Sets the type of change that was last made to the Task object."
---


## set_History {#set_history}

Sets the type of change that was last made to the Task object.

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

```cpp
set_History(MapiTaskHistory value)
```

| Parameter | Description |
| --- | --- |
| value |  |

