Back to Devexpress

WorkWeekRule.Add(DayOfWeek, WorkTime[]) Method

windowsforms-devexpress-dot-xtragantt-dot-workweekrule-dot-add-x28-system-dot-dayofweek-devexpress-dot-xtragantt-dot-scheduling-dot-worktime-x29.md

latest1.6 KB
Original Source

WorkWeekRule.Add(DayOfWeek, WorkTime[]) Method

Adds the specified day of week to the workweek.

Namespace : DevExpress.XtraGantt

Assembly : DevExpress.XtraGantt.v25.2.dll

NuGet Package : DevExpress.Win.Gantt

Declaration

csharp
public WorkDayOfWeek Add(
    DayOfWeek dayOfWeek,
    params WorkTime[] workTimes
)
vb
Public Function Add(
    dayOfWeek As DayOfWeek,
    ParamArray workTimes As WorkTime()
) As WorkDayOfWeek

Parameters

NameTypeDescription
dayOfWeekDayOfWeek

A value that specifies the day of the week.

| | workTimes | WorkTime[] |

An array of objects that specify work intervals.

|

Returns

TypeDescription
WorkDayOfWeek

An object that specifies a work day of the week.

|

See Also

WorkWeekRule Class

WorkWeekRule Members

DevExpress.XtraGantt Namespace