Argument matching parameter '<parametername>' narrows from '<type1>' to '<type2>'

You have made a call to an overloaded method, but the compiler cannot find a method that can be called without a narrowing conversion. A narrowing conversion changes a value to a data type that might not be able to precisely hold some of the possible values.

Error ID: BC30520

To correct this error

  • Specify Option Strict Off.

See Also

Concepts

Overloaded Properties and Methods

Widening and Narrowing Conversions

Reference

Option Strict Statement