---
title: "Aspose::Email::Calendar::AppointmentReminder::set_Duration method"
url: "https://reference.aspose.com/email/cpp/aspose.email.calendar/appointmentreminder/set_duration/"
product: "Aspose.Email for C++"
description: "Specifies the delay period, after which the alarm will repeat."
---


## set_Duration {#set_duration}

Specifies the delay period, after which the alarm will repeat.

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

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

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

