public function.add(item as object)的参数太多为整数 [英] too many arguments to public function.add(item as object) as integer

查看:65
本文介绍了public function.add(item as object)的参数太多为整数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是VB.net但是什么行抛出错误?太多的参数通常意味着你正在使用内置函数



例如,Mid(String,Start,Length)是一个带有3个参数的函数。当您输入VBE时,它应列出参数。在你看到的那个列表中被[]包围的任何东西都是可选的。



让我们知道这条线......我看了但是我没有看到任何明显的东西:)



提前致谢

This is VB.net but what line is throwing the error? too many arguments usually means you're using a built in function

A for instance, Mid(String, Start, Length) is a function with 3 arguments. When you're typing in your VBE, it should list the arguments. Anything surrounded by [] in that list you see is optional.

Let us know the line..I looked but I don't see anything obvious :)

Thanks in advance

推荐答案

当你提供更多时,该函数只接受一个参数。

也许你的代码中只有一个拼写错误。但是,如果没有看到它我们怎么能帮忙呢?
The function accepts just one argument while you are providing more.
Maybe there's just a typo in your code. However how could we help without seeing it?


这篇关于public function.add(item as object)的参数太多为整数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆