IsInstanceOfTypeFunction.IsValidOperandType(Int32, Int32, Type) Method

Determines whether a certain type can be passed as a specified operand to the IsInstanceOfTypeFunction custom function operator.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v21.1.dll

Declaration

public 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 the custom function.

type Type

Returns

Type Description
Boolean

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

See Also