Enum SortOrder
排序顺序
表示排序顺序的枚举。
如需调用枚举,您可以调用其父类、名称和属性。例如
SpreadsheetApp.SortOrder.ASCENDING
。
属性
属性 | 类型 | 说明 |
ASCENDING | Enum | 升序排序。 |
DESCENDING | Enum | 降序排序顺序。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-02。
[null,null,["最后更新时间 (UTC):2024-12-02。"],[[["`SortOrder` is an enumeration used to represent the sort order within Google Apps Script."],["It includes two properties: `ASCENDING` and `DESCENDING` to define the desired sort direction."],["To use it, call the parent class, name, and property, like `SpreadsheetApp.SortOrder.ASCENDING`."]]],["`SortOrder` is an enumeration with two properties: `ASCENDING` and `DESCENDING`. These represent the ascending and descending sort orders, respectively. To use them, access via `SpreadsheetApp.SortOrder.ASCENDING` or `SpreadsheetApp.SortOrder.DESCENDING`. It provides a way to specify the direction for sorting data within a spreadsheet application.\n"]]