9 references to DeleteDirectoryOption
Microsoft.VisualBasic.Core (9)
Microsoft\VisualBasic\FileIO\FileSystem.vb (9)
491Public Shared Sub DeleteDirectory(ByVal directory As String, ByVal onDirectoryNotEmpty As DeleteDirectoryOption) 503DeleteDirectoryInternal(directory, DeleteDirectoryOption.DeleteAllContents, 516DeleteDirectoryInternal(directory, DeleteDirectoryOption.DeleteAllContents, 1178Private Shared Sub DeleteDirectoryInternal(ByVal directory As String, ByVal onDirectoryNotEmpty As DeleteDirectoryOption, 1207IO.Directory.Delete(directoryFullPath, onDirectoryNotEmpty = DeleteDirectoryOption.DeleteAllContents) 1978Private Shared Sub VerifyDeleteDirectoryOption(ByVal argName As String, ByVal argValue As DeleteDirectoryOption) 1979If argValue = FileIO.DeleteDirectoryOption.DeleteAllContents OrElse 1980argValue = FileIO.DeleteDirectoryOption.ThrowIfDirectoryNonEmpty Then 1984Throw New InvalidEnumArgumentException(argName, argValue, GetType(DeleteDirectoryOption))