CastToDayType

WeekDay.CastToDayType method

Casts .Net’s DayOfWeek to DayType.

public static DayType CastToDayType(DayOfWeek dw)
Parameter Type Description
dw DayOfWeek The day of week to cast from.

Return Value

A cast day type.

See Also