Enum DataSourceParameterType
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
数据源参数类型
数据源参数类型的枚举。
如需调用枚举,您可以调用其父类、名称和属性。例如
SpreadsheetApp.DataSourceParameterType.CELL
。
属性
属性 | 类型 | 说明 |
DATA_SOURCE_PARAMETER_TYPE_UNSUPPORTED | Enum | Apps 脚本不支持的数据源参数类型。 |
CELL | Enum | 数据源参数的值基于单元格。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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. |"]]