| |||||||
DateTimeFormatInfo.YearMonthPattern PropertySystem.Globalization Namespace DateTimeFormatInfo Class Sets or retrieves the format pattern for a year and month value, which is associated with the 'y' and 'Y' format characters. [ VB ] public Property YearMonthPattern As String [ C# ] public string YearMonthPattern {get; set;} [ C++ ] public: __property String* get_YearMonthPattern ( ); public: __property void set_YearMonthPattern ( String* ); [ JScript ] function get YearMonthPattern ( ) : String; public function set YearMonthPattern ( String ); Property ValueThe format pattern for a year and month value, which is associated with the 'y' and 'Y' format characters. Exceptions
RemarksSee DateTimeFormatInfo for patterns that can be combined to construct custom patterns; for example, "yyyy MMMM". This property is affected if the value of the Calendar property changes. ExampleThe below shows the YearMonthPattern used for each of the available cultures. See AlsoDateTimeFormatInfo Members MonthDayPattern |
| ||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme