Scheduler for WPF | ComponentOne
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 DayOfWeek, _
       ByVal culture As CultureInfo _
    ) As String
    public static string GetDayOfWeekName( 
       DayOfWeek day,
       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