vb.net获取程序目录下所有子目录

vb.net获取程序目录下所有子目录的代码如下

    Private Sub Button_Click(sender As Object, e As RoutedEventArgs)
        Dim jPath As New DirectoryInfo(Directory.GetCurrentDirectory)
        For Each item As DirectoryInfo In jPath.GetDirectories
            MsgBox(item.Name)
        Next
    End Sub

原文链接:https://www.juziyu.cn/704.html,转载请注明出处。

0
封面图

评论0

没有账号? 注册  忘记密码?

社交账号快速登录

微信扫一扫关注
如已关注,请回复“登录”二字获取验证码