System.Globalization.DateTimeFormatInfo.AbbreviatedMonthGenitiveNames Property

Gets or sets a string array of abbreviated month names associated with the current System.Globalization.DateTimeFormatInfo object.

Syntax

[System.Runtime.InteropServices.ComVisible(false)]
public string[] AbbreviatedMonthGenitiveNames { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

In some languages, a month name that is part of a date appears in the genitive case. For example, a date in the ru-RU or Russian (Russia) culture consists of the day number and the genitive month name, such as 1 Января (1 January). For these cultures, if a custom format string includes the "MMM" format specifier, the DateTime.ToString or DateTimeOffset.ToString method includes the appropriate member of the DateTimeFormatInfo.AbbreviatedMonthGenitiveNames array in place of the "MMM" in the result string.

In a set operation, the array must be one-dimensional with exactly 13 elements, because System.Globalization.Calendar objects accommodate calendars that have 13 months. For calendars that have 12 months, the thirteenth element should be string.Empty.

If you set the DateTimeFormatInfo.AbbreviatedMonthGenitiveNames property, you must also set the DateTimeFormatInfo.AbbreviatedMonthNames property.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0