Calendar.DaysInYearBeforeMinSupportedYear 屬性

定義

取得 MinSupportedDateTime 屬性指定之年的前一年的天數。Gets the number of days in the year that precedes the year that is specified by the MinSupportedDateTime property.

protected:
 virtual property int DaysInYearBeforeMinSupportedYear { int get(); };
protected virtual int DaysInYearBeforeMinSupportedYear { get; }
member this.DaysInYearBeforeMinSupportedYear : int
Protected Overridable ReadOnly Property DaysInYearBeforeMinSupportedYear As Integer

屬性值

MinSupportedDateTime 指定之年的前一年的天數。The number of days in the year that precedes the year specified by MinSupportedDateTime.

備註

這個屬性會傳回常數值365。This property returns a constant value of 365. 請注意,衍生自 Calendar 類別的類別可以覆寫屬性值。Note that the property value can be overridden by classes derived from the Calendar class.

適用於