[]
        
(Showing Draft Content)

C1.Schedule.CalendarInfo.GetDayOfWeekName

GetDayOfWeekName Method

GetDayOfWeekName(DayOfWeek)

Returns the culture-specific full name of the specified day of the week based on the current UI culture.

Declaration
public static string GetDayOfWeekName(DayOfWeek day)
Parameters
Type Name Description
DayOfWeek day

The DayOfWeek value.

Returns
Type Description
string

The culture-specific full name of the day of the week represented by dayofweek.

GetDayOfWeekName(DayOfWeek, CultureInfo)

Returns the culture-specific full name of the specified day of the week based on the specified culture.

Declaration
public static string GetDayOfWeekName(DayOfWeek day, CultureInfo culture)
Parameters
Type Name Description
DayOfWeek day

The DayOfWeek value.

CultureInfo culture

The CultureInfo object.

Returns
Type Description
string

The culture-specific full name of the day of the week represented by dayofweek.