Gets or sets the custom format string for a year and month value.
Assembly: mscorlib (in mscorlib.dll)
This property is affected if the value of the Calendar property changes.
We recommend that you set the date separator in the year month pattern to an exact string instead of using the date separator placeholder. For example, to get the pattern MM-yyyy, set the year month pattern to "MM-yyyy".
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1