FolderHasSubFolders – Returns whether the specified folder has sub-folders

' Returns a boolean indicating whether the specified folder has sub-foldersFunction FolderHasSubFolders(ByVal folderPath As String) As Boolean    Return System.IO.Directory.GetDirectories(folderPath).Length > 0End Function

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: