GroupFormats 属性 (DateTimeGroupProvider)
本主题中
Get a dictionary of formats keyed by the TimeUnits enum of each group. Each value specifies the string.Format() of the numeric value followed by the year, with the exception of TimeUnits.Month for which the format specifies either all "M" characters (for the month name) or the numeric value of the month and year. Note if {1} is not included in the format, the year is not included. Default formats are Day="{0}", Week="Week {0}, Month="MMM", Quarter="Q{0}", "Year="{0}".
语法
请参见