代码: Dim td As WinForm.TreeNode
td = tvw1.nodes(Index)
下面这个错误。啥错误?
---------------------------
错误
---------------------------
编译错误:Overload resolution failed because no accessible 'Item' can be called without a narrowing conversion:
'Public ReadOnly Default Property Item(Name As String) As WinForm.TreeNode': Argument matching parameter 'Name' narrows from 'Long' to 'String'.
'Public ReadOnly Default Property Item(Index As Integer) As WinForm.TreeNode': Argument matching parameter 'Index' narrows from 'Long' to 'Integer'.
错误代码:td = tvw1.nodes(Index)
---------------------------
确定
---------------------------