AutoFilterFilter Method

Filters a list with specified criteria.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.5.0.0 (21.5)
Syntax
public void Filter(
	int fieldIndex,
	string criteria
)

Parameters

fieldIndex
Type: SystemInt32
The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0).
criteria
Type: SystemString
The specified criteria (a string; for example, "101").
Remarks
Aspose.Cells will remove all other filter setting on this field as Ms Excel 97-2003.
See Also