Skip to main content
All docs
V25.1
  • 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.v25.1.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