Excel.SearchDirection enum
指定搜索方向。
注解
示例
// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/42-range/range-find.yaml
searchDirectionToggle = searchDirectionToggle === Excel.SearchDirection.forward ? Excel.SearchDirection.backwards : Excel.SearchDirection.forward;
console.log("Search direction = " + searchDirectionToggle);
字段
backwards = "Backwards" | 按反向顺序搜索。 |
forward = "Forward" | 按向前顺序搜索。 |