Skip to main content
A newer version of this page is available. .
All docs
V21.2

ReportCustomFunctionOperatorBase.IsValidOperandType(Int32, Int32, Type) Method

Determines whether the specified type can be passed as an operand to the custom function.

Namespace: DevExpress.XtraReports.Expressions

Assembly: DevExpress.XtraReports.v21.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

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

Parameters

Name Type Description
operandIndex Int32

A zero-based integer that is the index in the list of operands passed to the function.

operandCount Int32

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

type Type

The type of the operand in question.

Returns

Type Description
Boolean

True if the custom function accepts an operand of the specified type at the specified index; otherwise, false.

See Also