
## set_Duration {#set_duration}

Sets the scheduled duration of the task when the baseline was saved.

**Returns:** void Aspose::Tasks::

```cpp
set_Duration(Aspose::Tasks::Duration value)
```

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

