Type expected
Source code characters occur that are not recognizable as a type name. The context calls for either an elementary data type or a declared element name representing a type.
Error ID: BC30182
To correct this error
Check that the type has been defined.
Check that the type name is spelled correctly.
See Also
Reference
Class Statement (Visual Basic)