Skip to main content

ICustomAggregateBrowsable.IsValidOperandType(Int32, Int32, Type) Method

Determines whether a function accepts an argument (operand) of the specified type.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data

Declaration

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

Parameters

Name Type Description
operandIndex Int32

A zero-based integer value that is the operand’s index in the list of operands.

operandCount Int32

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

type Type

A Type object that is the operand’s type.

Returns

Type Description
Boolean

true if a custom aggregate function accepts the operand of the specified type; otherwise, false.

See Also