Skip to main content
A newer version of this page is available. .

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

Declaration

bool IsValidOperandType(
    int operandIndex,
    int operandCount,
    Type type
)

Parameters

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.

Returns

Type Description
Boolean

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

See Also