另一个无法识别的错误 [英] an another unrecognized error

查看:83
本文介绍了另一个无法识别的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi


hi when i write following command

for (int j = 0; i <= this.mytv.Nodes(i).Nodes.Count - 1; j++)
{

}





编译后显示此错误

错误2方法'Nodes'没有重载需要1个参数



感谢



this error be shown after compile
Error 2 No overload for method 'Nodes' takes 1 arguments

thanks

推荐答案

我假设mytv是一个TreeView类... Nodes是TreeView的集合属性而不是方法,所以它应该像数组一样处理......

I assume that mytv is a TreeView class...Nodes is a collection property of TreeView and not a method, so it should be handled like an array...
this.mytv.Nodes[i].Nodes.Count


这篇关于另一个无法识别的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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