13 references to SearchOption
Microsoft.VisualBasic.Core (13)
Microsoft\VisualBasic\FileIO\FileSystem.vb (13)
109ByVal containsText As String, ByVal ignoreCase As Boolean, ByVal searchType As SearchOption) As ObjectModel.ReadOnlyCollection(Of String)
124ByVal searchType As SearchOption, ByVal ParamArray fileWildcards() As String) As ObjectModel.ReadOnlyCollection(Of String)
150Return FindFilesOrDirectories(FileOrDirectory.Directory, directory, SearchOption.SearchTopLevelOnly, Nothing)
160Public Shared Function GetDirectories(ByVal directory As String, ByVal searchType As SearchOption,
200Return FindFilesOrDirectories(FileOrDirectory.File, directory, SearchOption.SearchTopLevelOnly, Nothing)
210Public Shared Function GetFiles(ByVal directory As String, ByVal searchType As SearchOption,
1364ByVal searchType As SearchOption, ByVal wildcards() As String) As ObjectModel.ReadOnlyCollection(Of String)
1381ByVal searchType As SearchOption, ByVal wildcards() As String, ByVal Results As ObjectModel.Collection(Of String))
1409If searchType = SearchOption.SearchAllSubDirectories Then
2006Private Shared Sub VerifySearchOption(ByVal argName As String, ByVal argValue As SearchOption)
2007If argValue = SearchOption.SearchAllSubDirectories OrElse
2008argValue = SearchOption.SearchTopLevelOnly Then
2012Throw New InvalidEnumArgumentException(argName, argValue, GetType(SearchOption))