Back to Devexpress

WorkWeekRule.Add(DayOfWeek, IEnumerable<WorkTime>) Method

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

latest1.7 KB
Original Source

WorkWeekRule.Add(DayOfWeek, IEnumerable<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,
    IEnumerable<WorkTime> workTimes
)
vb
Public Function Add(
    dayOfWeek As DayOfWeek,
    workTimes As IEnumerable(Of WorkTime)
) As WorkDayOfWeek

Parameters

NameTypeDescription
dayOfWeekDayOfWeek

A value that specifies the day of the week.

| | workTimes | IEnumerable<WorkTime> |

A collection 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