Excel.SearchCriteria interface

表示要使用的搜索条件。Represents the search criteria to be used.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

属性

completeMatch

指定匹配必须是完整匹配还是部分匹配。Specifies whether the match needs to be complete or partial. 完全匹配的单元格的全部内容。A complete match matches the entire contents of the cell. 默认值为 false(部分)。Default is false (partial).

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

matchCase

指定匹配是否区分大小写。Specifies whether the match is case sensitive. 默认值为 false(不区分大小写)。Default is false (insensitive).

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

searchDirection

指定搜索方向。Specifies the search direction. 默认值为向前。Default is forward. 请参阅 Excel.SearchDirection。See Excel.SearchDirection.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

属性详细信息

completeMatch

指定匹配必须是完整匹配还是部分匹配。Specifies whether the match needs to be complete or partial. 完全匹配的单元格的全部内容。A complete match matches the entire contents of the cell. 默认值为 false(部分)。Default is false (partial).

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

completeMatch?: boolean;

属性值

boolean

matchCase

指定匹配是否区分大小写。Specifies whether the match is case sensitive. 默认值为 false(不区分大小写)。Default is false (insensitive).

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

matchCase?: boolean;

属性值

boolean

searchDirection

指定搜索方向。Specifies the search direction. 默认值为向前。Default is forward. 请参阅 Excel.SearchDirection。See Excel.SearchDirection.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

searchDirection?: Excel.SearchDirection | "Forward" | "Backwards";

属性值

Excel.SearchDirection | "Forward" | "Backwards"