64 references to UICancelOption
Microsoft.VisualBasic (1)
Microsoft.VisualBasic.cs (1)
54
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.VisualBasic.FileIO.
UICancelOption
))]
Microsoft.VisualBasic.Core (35)
Microsoft\VisualBasic\FileIO\FileSystem.vb (35)
379
overwrite:=False, UIOptionInternal.NoUI,
UICancelOption
.ThrowException)
391
overwrite, UIOptionInternal.NoUI,
UICancelOption
.ThrowException)
404
overwrite:=False, ToUIOptionInternal(showUI),
UICancelOption
.ThrowException)
416
Public Shared Sub CopyDirectory(ByVal sourceDirectoryName As String, ByVal destinationDirectoryName As String, ByVal showUI As UIOption, ByVal onUserCancel As
UICancelOption
)
428
overwrite:=False, UIOptionInternal.NoUI,
UICancelOption
.ThrowException)
439
overwrite, UIOptionInternal.NoUI,
UICancelOption
.ThrowException)
452
overwrite:=False, ToUIOptionInternal(showUI),
UICancelOption
.ThrowException)
465
Public Shared Sub CopyFile(ByVal sourceFileName As String, ByVal destinationFileName As String, ByVal showUI As UIOption, ByVal onUserCancel As
UICancelOption
)
493
UIOptionInternal.NoUI, RecycleOption.DeletePermanently,
UICancelOption
.ThrowException)
504
ToUIOptionInternal(showUI), recycle,
UICancelOption
.ThrowException)
515
ByVal showUI As UIOption, ByVal recycle As RecycleOption, ByVal onUserCancel As
UICancelOption
)
525
DeleteFileInternal(file, UIOptionInternal.NoUI, RecycleOption.DeletePermanently,
UICancelOption
.ThrowException)
535
DeleteFileInternal(file, ToUIOptionInternal(showUI), recycle,
UICancelOption
.ThrowException)
548
ByVal onUserCancel As
UICancelOption
)
561
overwrite:=False, UIOptionInternal.NoUI,
UICancelOption
.ThrowException)
572
overwrite, UIOptionInternal.NoUI,
UICancelOption
.ThrowException)
585
overwrite:=False, ToUIOptionInternal(showUI),
UICancelOption
.ThrowException)
597
Public Shared Sub MoveDirectory(ByVal sourceDirectoryName As String, ByVal destinationDirectoryName As String, ByVal showUI As UIOption, ByVal onUserCancel As
UICancelOption
)
609
overwrite:=False, UIOptionInternal.NoUI,
UICancelOption
.ThrowException)
620
overwrite, UIOptionInternal.NoUI,
UICancelOption
.ThrowException)
633
overwrite:=False, ToUIOptionInternal(showUI),
UICancelOption
.ThrowException)
646
Public Shared Sub MoveFile(ByVal sourceFileName As String, ByVal destinationFileName As String, ByVal showUI As UIOption, ByVal onUserCancel As
UICancelOption
)
894
ByVal overwrite As Boolean, ByVal showUI As UIOptionInternal, ByVal onUserCancel As
UICancelOption
)
1042
Overwrite, UIOptionInternal.NoUI,
UICancelOption
.ThrowException)
1093
ByVal overwrite As Boolean, ByVal showUI As UIOptionInternal, ByVal onUserCancel As
UICancelOption
1179
ByVal showUI As UIOptionInternal, ByVal recycle As RecycleOption, ByVal onUserCancel As
UICancelOption
)
1219
ByVal onUserCancel As
UICancelOption
)
1599
ByVal FullSourcePath As String, ByVal FullTargetPath As String, ByVal ShowUI As UIOptionInternal, ByVal OnUserCancel As
UICancelOption
)
1665
ByVal ShowUI As UIOptionInternal, ByVal recycle As RecycleOption, ByVal OnUserCancel As
UICancelOption
, ByVal FileOrDirectory As FileOrDirectory)
1694
ByVal FullSource As String, ByVal FullTarget As String, ByVal OnUserCancel As
UICancelOption
, ByVal FileOrDirectory As FileOrDirectory)
1718
If OnUserCancel =
UICancelOption
.ThrowException Then
2020
Private Shared Sub VerifyUICancelOption(ByVal argName As String, ByVal argValue As
UICancelOption
)
2021
If argValue =
UICancelOption
.DoNothing OrElse
2022
argValue =
UICancelOption
.ThrowException Then
2026
Throw New InvalidEnumArgumentException(argName, argValue, GetType(
UICancelOption
))
Microsoft.VisualBasic.Forms (28)
Microsoft\VisualBasic\Devices\Network.DownloadFile.vb (7)
128
UICancelOption
.ThrowException)
155
onUserCancel As
UICancelOption
)
210
UICancelOption
.ThrowException)
241
onUserCancel As
UICancelOption
)
288
UICancelOption
.ThrowException)
314
onUserCancel As
UICancelOption
)
372
AndAlso onUserCancel =
UICancelOption
.ThrowException _
Microsoft\VisualBasic\Devices\Network.UploadFile.vb (7)
111
onUserCancel:=
UICancelOption
.ThrowException)
133
onUserCancel As
UICancelOption
)
185
onUserCancel:=
UICancelOption
.ThrowException)
207
onUserCancel As
UICancelOption
)
243
onUserCancel:=
UICancelOption
.ThrowException)
263
onUserCancel As
UICancelOption
)
310
If onUserCancel =
UICancelOption
.ThrowException And dialog.UserCanceledTheDialog Then
Microsoft\VisualBasic\MyServices\FileSystemProxy.vb (14)
213
''' The user cancelled the operation and <paramref name="onUserCancel"/> is set to <see cref="
UICancelOption
.ThrowException"/>.
219
onUserCancel As
UICancelOption
)
344
''' The user cancelled the operation and <paramref name="onUserCancel"/> is set to <see cref="
UICancelOption
.ThrowException"/>.
350
onUserCancel As
UICancelOption
)
445
''' and UI cancel options to <see cref="
UICancelOption
.DoNothing"/>, or <see cref="
UICancelOption
.ThrowException"/>.
476
''' The user cancelled the operation and <paramref name="onUserCancel"/> is set to <see cref="
UICancelOption
.ThrowException"/>.
482
onUserCancel As
UICancelOption
)
542
''' The user cancelled the operation and <paramref name="onUserCancel"/> is set to <see cref="
UICancelOption
.ThrowException"/>.
548
onUserCancel As
UICancelOption
)
1040
''' The user cancelled the operation and <paramref name="onUserCancel"/> is set to <see cref="
UICancelOption
.ThrowException"/>.
1046
onUserCancel As
UICancelOption
)
1172
''' The user cancelled the operation and <paramref name="onUserCancel"/> is set to <see cref="
UICancelOption
.ThrowException"/>.
1178
onUserCancel As
UICancelOption
)