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 As System.DayOfWeek, _
ByVal As System.Globalization.CultureInfo _
) As System.String
public static System.string GetDayOfWeekName(
System.DayOfWeek ,
System.Globalization.CultureInfo
)
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