Movenext函数VB.NET [英] Movenext function VB.NET

查看:152
本文介绍了Movenext函数VB.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在VB.NET中测试我的MoveNext函数,但它无法正常工作。关于如何使其适用于以下代码的任何想法:



I am trying test my MoveNext Function in VB.NET, but it is not working. Any ideas on how to make it work on the following code:

Public Function MoveNext() As Boolean

    endindex = checkWord.Length + foundIndex

    If foundIndex >= replacements.ToString.Length Then
        Return False
    Else
        Return True
    End If

End Function





我尝试过:



尝试在Google上搜索,但不能能够使用这些解决方案来解决我的问题!



What I have tried:

Tried searching on Google, but could not be able to use those solutions to solve my problem!

推荐答案

通过在这里理解你的代码,我创建了一个小的vb.net windows应用程序来解决我的问题。



如果需要进一步的帮助,请仔细阅读代码并告诉我们?



请检查此链接以获取项目 [ ^ ]



告诉您整个解决方案都在VS 2015中,所以请复制代码并测试您是否使用较低版本。



我的用户界面: -

点击这里是图片 [ ^ ]
By understanding your code here i have created a small vb.net windows application to get the issue resolved in my way.

Please go through the code and let me know if any further assistance required?

Please check this link to get the project[^]

Let you know that the entire solution is in VS 2015, so please copy the code and test if you are using a lower version.

My UI:-
Click here for image[^]


这篇关于Movenext函数VB.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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