This documentation is archived and is not being maintained.

'<typename>' is a type and cannot be used as an expression

A type name occurs where an expression is required. An expression must consist of some combination of variables, constants, literals, properties, and Function procedure calls.

Error ID: BC30108

To correct this error

  • Remove the type name and construct the expression using valid elements.