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.v21.2.dll


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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsValidOperandType(Int32, Int32, Type) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also