Scheduler for WinForms | ComponentOne
C1.ScheduleCore Assembly / C1.Schedule Namespace / CalendarInfo Class / GetDayOfWeekName Method / GetDayOfWeekName(DayOfWeek,CultureInfo) Method
The System.DayOfWeek value.
The CultureInfo object.

In This Topic
    GetDayOfWeekName(DayOfWeek,CultureInfo) Method
    In This Topic
    Returns the culture-specific full name of the specified day of the week based on the specified culture.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetDayOfWeekName( _
       ByVal day As System.DayOfWeek, _
       ByVal culture As System.Globalization.CultureInfo _
    ) As System.String
    public static System.string GetDayOfWeekName( 
       System.DayOfWeek day,
       System.Globalization.CultureInfo culture
    )

    Parameters

    day
    The System.DayOfWeek value.
    culture
    The CultureInfo object.

    Return Value

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