必须进行扩大转换才能用这些参数调用可访问的重载“<methodname>”:<list>No accessible overloaded '<methodname>' can be called with these arguments without a widening conversion: <list>

调用了重载方法,但是方法不可与未进行扩大转换的所提供的参数列表相匹配。An overloaded method was called, but no method could be matched with the list of provided arguments without a widening conversion.

更正此错误To correct this error

  • 指定 Option Strict OffSpecify Option Strict Off.

  • 更改参数以匹配重载方法的其中一个签名。Change the arguments to match one of the signatures of the overloaded method.

另请参阅See also