Enum RecalculationInterval
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
重新計算間隔列舉代表試算表重新計算時可能使用的間隔。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
SpreadsheetApp.RecalculationInterval.ON_CHANGE
。
屬性
屬性 | 類型 | 說明 |
ON_CHANGE | Enum | 僅在值變更時重新計算。 |
MINUTE | Enum | 在值有變動時和每分鐘重新計算。 |
HOUR | Enum | 在值變更時和每小時重新計算。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eRecalculationInterval\u003c/code\u003e is used to control the frequency of spreadsheet recalculations within Google Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eIt offers three options: \u003ccode\u003eON_CHANGE\u003c/code\u003e, \u003ccode\u003eMINUTE\u003c/code\u003e, and \u003ccode\u003eHOUR\u003c/code\u003e, allowing for recalculation triggered by value changes, every minute, or every hour, respectively.\u003c/p\u003e\n"],["\u003cp\u003eTo use these options, refer to them using the format \u003ccode\u003eSpreadsheetApp.RecalculationInterval.[property]\u003c/code\u003e, such as \u003ccode\u003eSpreadsheetApp.RecalculationInterval.ON_CHANGE\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum RecalculationInterval\n\nRecalculationInterval\n\nAn enumeration representing the possible intervals used in spreadsheet recalculation.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.RecalculationInterval.ON_CHANGE`. \n\n### Properties\n\n| Property | Type | Description |\n|-------------|--------|--------------------------------------------------------|\n| `ON_CHANGE` | `Enum` | Recalculate only when values are changed. |\n| `MINUTE` | `Enum` | Recalculate when values are changed, and every minute. |\n| `HOUR` | `Enum` | Recalculate when values are changed, and every hour. |"]]