Skip to main content

ApiFilter

Represents the ApiFilter class.

Properties

NameTypeDescription
Criteria1string | string[] | number | XlDynamicFilterCriteria | nullReturns the first criteria associated with the filter.
Criteria2string | nullReturns the second criteria associated with the filter (used with xlAnd/xlOr).
OnbooleanIndicates whether any filter is applied to this column.
OperatorXlAutoFilterOperator | nullReturns the operator used for the filter on this column.
ParentApiAutoFilterReturns the parent filters collection for this filter column.

Methods

MethodReturnsDescription
GetCriteria1string | string[] | number | XlDynamicFilterCriteria | nullReturns the first criteria associated with the filter for this column.
GetCriteria2string | nullReturns the second criteria associated with the filter for this column.
GetOnbooleanIndicates whether any filter is applied on this column.
GetOperatorXlAutoFilterOperator | nullReturns the operator used for the filter on this column.
GetParentApiAutoFilterReturns the parent filters collection for this filter column.