Mono Class Library: System.Globalization.DateTimeFormatInfo Overview | MembersSystem.Globalization.DateTimeFormatInfo.YearMonthPattern Property |
Gets or sets the format pattern for a year and month value. [Edit]
|
The format pattern for a year and month value. [Edit]
Type Reason ArgumentNullException The value specified for a set operation is a null reference. [Edit] InvalidOperationException The current instance is read-only and a set operation was attempted. [Edit]
The DateTime.ParseExact(string, string, IFormatProvider) and DateTime.ToString methods associate the format pattern returned by this property with the 'y' and 'Y' format character.
The property value of the culture invariant DateTimeFormatInfo.YearMonthPattern is "yyyy MMMM".
[Edit]
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0