ApiSortFields
表示 ApiSortFields 类。
备注
此功能仅在 ONLYOFFICE Docs 付费版本中可用。
属性
| 名称 | 类型 | 描述 |
|---|---|---|
| Count | number | 返回集合中排序字段的数量。 |
| Parent | ApiSort | 返回父 Sort 对象。 |
方法
| 方法 | 返回值 | 描述 |
|---|---|---|
| Add | ApiSortField | null | 向集合添加排序字段。 |
| Add2 | ApiSortField | null | 添加支持链接数据类型(股票、地理)子字段的排序字段。 |
| Clear | 无 | 从集合中移除所有排序字段。 |
| GetCount | number | 返回排序字段的数量。 |
| GetParent | ApiSort | 返回父 Sort 对象。 |
| Item | ApiSortField | null | 返回给定从 1 开始的索引处的排序字段。 |