Skip to content

Commit e6ccd8d

Browse files
dsychinRon Petrusha
authored andcommitted
add overload example for vb CopyDirectory (#896)
1 parent 468cdcb commit e6ccd8d

File tree

1 file changed

+29
-0
lines changed
  • snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB

1 file changed

+29
-0
lines changed

snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Imports System.IO
99

1010
Imports System.Drawing
1111
Imports System.Windows.Forms
12+
Imports Microsoft.VisualBasic.FileIO
1213

1314
Class Class00ad6fbd924e4a49af32d505fe69ea32
1415
' 00ad6fbd-924e-4a49-af32-d505fe69ea32
@@ -1071,4 +1072,32 @@ Class Class7bb0d83e875a4b158935bdc24e71ef98
10711072

10721073
End Class
10731074

1075+
Class Classe02587a6e85494d7f9392beae2c7f3903
1076+
'02587a6e-8549-4d7f-9392-beae2c7f3903
1077+
' My.Computer.FileSystem.CopyDirectory Method
1078+
Public Sub Method91()
1079+
' <snippet91>
1080+
My.Computer.FileSystem.CopyDirectory("C:\TestDirectory1", "C:\TestDirectory2")
1081+
' </snippet91>
1082+
End Sub
1083+
End Class
1084+
1085+
Class Classe664cd9b1a9174Ffc96ed789c60582205
1086+
' 664cd9b1-a917-4ffc-96ed-789c60582205
1087+
' My.Computer.FileSystem.CopyDirectory Method
1088+
Public Sub Method92()
1089+
' <snippet92>
1090+
My.Computer.FileSystem.CopyDirectory("C:\TestDirectory1", "C:\TestDirectory2", UIOption.AllDialogs)
1091+
' </snippet92>
1092+
End Sub
1093+
End Class
10741094

1095+
Class Classe9df56b2b8eb34f9ba184c2bb529eeaa7
1096+
' 9df56b2b-8eb3-4f9b-a184-c2bb529eeaa7
1097+
' My.Computer.FileSystem.CopyDirectory Method
1098+
Public Sub Method93()
1099+
' <snippet93>
1100+
My.Computer.FileSystem.CopyDirectory("C:\TestDirectory1", "C:\TestDirectory2", UIOption.AllDialogs, UICancelOption.DoNothing)
1101+
' </snippet93>
1102+
End Sub
1103+
End Class

0 commit comments

Comments
 (0)