AutoFilter.FilterTop10

AutoFilter.FilterTop10 method

Filter the top 10 item in the list

public void FilterTop10(int fieldIndex, bool isTop, bool isPercent, int itemCount)
ParameterTypeDescription
fieldIndexInt32The 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).
isTopBooleanIndicates whether filter from top or bottom
isPercentBooleanIndicates whether the items is percent or count
itemCountInt32The item count

See Also