Skip to main content

ICustomFunctionOperatorBrowsable.IsValidOperandType(Int32, Int32, Type) Method

When implemented by a custom function, determines if a certain type can be passed as a specified operand.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


bool IsValidOperandType(
    int operandIndex,
    int operandCount,
    Type type


Name Type Description
operandIndex Int32

A zero-based integer value specifying an operand’s index among a custom function’s operands.

operandCount Int32

An integer value specifying the total number of operands passed to a custom function.

type Type

A Type object specifying an operand’s type.


Type Description

true if a custom function accepts the type; otherwise, false.

See Also