Calendar.CurrentEra 欄位

定義

表示目前曆法的目前紀元。Represents the current era of the current calendar. 此欄位的值為 0。The value of this field is 0.

public: int CurrentEra = 0;
public const int CurrentEra = 0;
val mutable CurrentEra : int
Public Const CurrentEra As Integer  = 0

欄位值

備註

[CurrentEra] 欄位代表 Eras 陣列中目前紀元的索引。The CurrentEra field represents the index of the current era in the Eras array. 因為紀元是以反向時間順序排列(從目前的紀元到先前的紀元),所以此欄位是值為0的常數。Because eras are arranged in reverse chronological order (from the current era to earlier eras), this field is a constant that has a value of 0.

適用於

另請參閱