---
title: "Aspose::Tasks::ByMonthWeekDayRepetition::set_WeekDay method"
url: "https://reference.aspose.com/tasks/cpp/aspose.tasks/bymonthweekdayrepetition/set_weekday/"
product: "Aspose.Tasks for C++"
description: "Sets a type of weekday on which the task must be recurring."
---


## set_WeekDay {#set_weekday}

Sets a type of weekday on which the task must be recurring.

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

```cpp
set_WeekDay(System::DayOfWeek value)
```

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

