---
title: "Aspose::Email::Calendar::ReminderTrigger::set_Duration method"
url: "https://reference.aspose.com/email/cpp/aspose.email.calendar/remindertrigger/set_duration/"
product: "Aspose.Email for C++"
description: "Specifies a relative time for the trigger of the alarm."
---


## set_Duration {#set_duration}

Specifies a relative time for the trigger of the alarm.

**Returns:** void Aspose::Email::Calendar::

```cpp
set_Duration(System::SharedPtr < ReminderDuration > value)
```

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

