Table of Contents

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

operator XlsxFilterOperator

How the cell is compared.

value string

The value: a number written with a point, or text.

Returns

XlsxFilterCriterion

The criterion.

Exceptions

ArgumentNullException

value is 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

first XlsxFilterCondition

The first condition.

matchAll bool

True for both, false for either.

second XlsxFilterCondition

The second condition.

Returns

XlsxFilterCriterion

The criterion.

Exceptions

ArgumentNullException

A condition is null.