##  set_criteria(self, filter_operator, criteria) {#aspose.cells.FilterOperatorType-any}
设置过滤条件。



```python

def set_criteria(self, filter_operator, criteria):
    ...
```


|范围|类型|描述|
| :- | :- | :- |
| filter_operator | [`FilterOperatorType`](/cells/python-net/zh/aspose.cells/filteroperatortype) |过滤运算符类型|
| criteria | any |过滤条件值|



### 也可以看看
* 模块[`aspose.cells`](../../)
* 类 [`CustomFilter`](/cells/python-net/zh/aspose.cells/customfilter)
