Method Custom
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
Custom(XlsxFilterOperator, string)
Lets through cells that meet a condition.
public static XlsxFilterCriterion Custom(XlsxFilterOperator @operator, string value)
Parameters
operatorXlsxFilterOperatorHow the cell is compared.
valuestringThe value: a number written with a point, or text.
Returns
- XlsxFilterCriterion
The criterion.
Exceptions
- ArgumentNullException
valueis null.
Custom(XlsxFilterCondition, bool, XlsxFilterCondition)
Lets through cells that meet both conditions, or either.
public static XlsxFilterCriterion Custom(XlsxFilterCondition first, bool matchAll, XlsxFilterCondition second)
Parameters
firstXlsxFilterConditionThe first condition.
matchAllboolTrue for both, false for either.
secondXlsxFilterConditionThe second condition.
Returns
- XlsxFilterCriterion
The criterion.
Exceptions
- ArgumentNullException
A condition is null.