AddFilter
AutoFilter.AddFilter method
为过滤列添加过滤器。
public void AddFilter(int fieldIndex, string criteria)
范围 | 类型 | 描述 |
---|---|---|
fieldIndex | Int32 | 您要作为过滤器基础的字段的整数偏移量 (从列表的左侧开始;最左侧的字段是字段0)。 |
criteria | String | 指定的条件(字符串;例如,“101”)。 它只能为空或为该列中单元格的值之一。 |
评论
MS Excel 2007 支持在筛选列中进行多选。
也可以看看
- class AutoFilter
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells