13 references to RecycleOption
Microsoft.VisualBasic.Core (13)
Microsoft\VisualBasic\FileIO\FileSystem.vb (13)
493UIOptionInternal.NoUI, RecycleOption.DeletePermanently, UICancelOption.ThrowException)
502Public Shared Sub DeleteDirectory(ByVal directory As String, ByVal showUI As UIOption, ByVal recycle As RecycleOption)
515ByVal showUI As UIOption, ByVal recycle As RecycleOption, ByVal onUserCancel As UICancelOption)
525DeleteFileInternal(file, UIOptionInternal.NoUI, RecycleOption.DeletePermanently, UICancelOption.ThrowException)
534Public Shared Sub DeleteFile(ByVal file As String, ByVal showUI As UIOption, ByVal recycle As RecycleOption)
547Public Shared Sub DeleteFile(ByVal file As String, ByVal showUI As UIOption, ByVal recycle As RecycleOption,
1179ByVal showUI As UIOptionInternal, ByVal recycle As RecycleOption, ByVal onUserCancel As UICancelOption)
1218Private Shared Sub DeleteFileInternal(ByVal file As String, ByVal showUI As UIOptionInternal, ByVal recycle As RecycleOption,
1665ByVal ShowUI As UIOptionInternal, ByVal recycle As RecycleOption, ByVal OnUserCancel As UICancelOption, ByVal FileOrDirectory As FileOrDirectory)
1992Private Shared Sub VerifyRecycleOption(ByVal argName As String, ByVal argValue As RecycleOption)
1993If argValue = RecycleOption.DeletePermanently OrElse
1994argValue = RecycleOption.SendToRecycleBin Then
1998Throw New InvalidEnumArgumentException(argName, argValue, GetType(RecycleOption))