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.GetMonthName (Int32, Calendar)

Returns the name of the specified month of the year using the specified calendar.

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

Parameters

month
A value representing the month whose name is to be returned. This must satisfy 1 <= month <= 13.
calendar
The calendar to be used in obtaining the day name. a Calendar object that represents the calendar in which to get the name. If this is null the GregorianCalendar is used.

Return Value

Returns the name of the month represented by month.

Remarks

For the invariant

See Also

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