NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DateTimeFormatInfo.GetDayName (Int32, Calendar)

Returns the name of the specified day of the week using the specified calendar.

[Visual Basic]
Overloads Overridable Public Function GetDayName( _
   ByVal dayofweek As Integer, _
   ByVal calendar As Calendar _
) As String
[C#]
public virtual string GetDayName(
   int dayofweek,
   Calendar calendar
);
[C++]
public: virtual String* GetDayName(
   int dayofweek,
   Calendar* calendar
);
[JScript]
public function GetDayName(
   dayofweek : int,
   calendar : Calendar
) : String;

Parameters

dayofweek
A value representing the day of the week for which a name is to be returned.
calendar
The calendar to be used in obtaining the day name.

Return Value

The name of the day of the week represented by dayofweek.

Remarks

For the invariant

See Also

DateTimeFormatInfo Class | DateTimeFormatInfo Members | System.Globalization Namespace | DateTimeFormatInfo.GetDayName Overload List