Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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