'<typename>' is a type and cannot be used as an expression
Updated: July 20, 2015
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
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
- Remove the type name and construct the expression using valid elements.