Compartir a través de


DateTimeFormatInfo.YearMonthPattern Property

Gets the format pattern for a year and month value, which is associated with the "y" and "Y" format characters.

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)

Syntax

public string YearMonthPattern { get; }

Property Value

The format pattern for a year and month value, which is associated with the "y" and "Y" format characters.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

DateTimeFormatInfo Class
DateTimeFormatInfo Members
System.Globalization Namespace