Enum DataSourceParameterType
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資料來源參數類型
資料來源參數類型的列舉。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
SpreadsheetApp.DataSourceParameterType.CELL
。
屬性
屬性 | 類型 | 說明 |
DATA_SOURCE_PARAMETER_TYPE_UNSUPPORTED | Enum | Apps Script 不支援的資料來源參數類型。 |
CELL | Enum | 資料來源參數的值會根據儲存格計算。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eDataSourceParameterType\u003c/code\u003e is used to define the type of parameter used in a data source.\u003c/p\u003e\n"],["\u003cp\u003eThis enum includes types like \u003ccode\u003eCELL\u003c/code\u003e, indicating a cell-based parameter, and \u003ccode\u003eDATA_SOURCE_PARAMETER_TYPE_UNSUPPORTED\u003c/code\u003e for unsupported types.\u003c/p\u003e\n"],["\u003cp\u003eTo reference a specific type, use the format \u003ccode\u003eSpreadsheetApp.DataSourceParameterType.CELL\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum DataSourceParameterType\n\nDataSourceParameterType\n\nAn enumeration of data source parameter types.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.DataSourceParameterType.CELL`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------------------------------|--------|--------------------------------------------------------------------|\n| `DATA_SOURCE_PARAMETER_TYPE_UNSUPPORTED` | `Enum` | A data source parameter type that is not supported in Apps Script. |\n| `CELL` | `Enum` | The data source parameter is valued based on a cell. |"]]