XlFunc.If(IXlFormulaParameter, IXlFormulaParameter, IXlFormulaParameter) Method

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v21.2.Core.dll

Declaration

public static IXlFormulaParameter If(
    IXlFormulaParameter predicate,
    IXlFormulaParameter thenParam,
    IXlFormulaParameter elseParam
)

Parameters

Name Type Description
predicate IXlFormulaParameter

A IXlFormulaParameter object that is the predicate.

thenParam IXlFormulaParameter

A IXlFormulaParameter object that is returned if a predicate is true.

elseParam IXlFormulaParameter

A IXlFormulaParameter object that is returned if a predicate is false.

Returns

Type Description
IXlFormulaParameter

An IXlFormulaParameter object that is the function result.

See Also