From 78925a82abdcc91dd417ed2f7b4251169b8eb5f1 Mon Sep 17 00:00:00 2001 From: dsychin Date: Sat, 11 May 2019 19:48:07 +0800 Subject: [PATCH 1/2] add links to new samples --- xml/Microsoft.VisualBasic.FileIO/FileSystem.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xml/Microsoft.VisualBasic.FileIO/FileSystem.xml b/xml/Microsoft.VisualBasic.FileIO/FileSystem.xml index d9f84339458..3cc0643f8ee 100644 --- a/xml/Microsoft.VisualBasic.FileIO/FileSystem.xml +++ b/xml/Microsoft.VisualBasic.FileIO/FileSystem.xml @@ -224,9 +224,9 @@ ## Examples - The following example copies the contents of directory `TestDirectory1` into `TestDirectory2`, overwriting existing files. + The following example copies the contents of directory `TestDirectory1` into `TestDirectory2`. - [!code-vb[VbVbcnMyFileSystem#49](~/samples/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb#49)] + [!code-vb[VbVbcnMyFileSystem#49](~/samples/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb#91)] Replace `C:\TestDirectory1` and `C:\TestDirectory2` with the path and name of the directory you wish to copy and the location to which you wish to copy it. @@ -293,9 +293,9 @@ ## Examples - The following example copies the contents of directory `TestDirectory1` into `TestDirectory2`, overwriting existing files. + The following example copies the contents of directory `TestDirectory1` into `TestDirectory2`, showing progress dialog and any error dialog. - [!code-vb[VbVbcnMyFileSystem#49](~/samples/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb#49)] + [!code-vb[VbVbcnMyFileSystem#49](~/samples/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb#92)] Replace `C:\TestDirectory1` and `C:\TestDirectory2` with the path and name of the directory you wish to copy and the location to which you wish to copy it. @@ -442,9 +442,9 @@ ## Examples - The following example copies the contents of directory `TestDirectory1` into `TestDirectory2`, overwriting existing files. + The following example copies the contents of directory `TestDirectory1` into `TestDirectory2`, showing progress dialog and any error dialog, and does nothing if the user clicks **Cancel** during the operation. - [!code-vb[VbVbcnMyFileSystem#49](~/samples/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb#49)] + [!code-vb[VbVbcnMyFileSystem#49](~/samples/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb#93)] Replace `C:\TestDirectory1` and `C:\TestDirectory2` with the path and name of the directory you wish to copy and the location to which you wish to copy it. From 818086f6655495cd11559d4b4b44a60ba4199259 Mon Sep 17 00:00:00 2001 From: Ron Petrusha Date: Mon, 13 May 2019 09:59:34 -0700 Subject: [PATCH 2/2] Changed label #91 to #94 Related to dotnet/samples#898 --- xml/Microsoft.VisualBasic.FileIO/FileSystem.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/Microsoft.VisualBasic.FileIO/FileSystem.xml b/xml/Microsoft.VisualBasic.FileIO/FileSystem.xml index 3cc0643f8ee..bb73642d7a7 100644 --- a/xml/Microsoft.VisualBasic.FileIO/FileSystem.xml +++ b/xml/Microsoft.VisualBasic.FileIO/FileSystem.xml @@ -226,7 +226,7 @@ ## Examples The following example copies the contents of directory `TestDirectory1` into `TestDirectory2`. - [!code-vb[VbVbcnMyFileSystem#49](~/samples/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb#91)] + [!code-vb[VbVbcnMyFileSystem#49](~/samples/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb#94)] Replace `C:\TestDirectory1` and `C:\TestDirectory2` with the path and name of the directory you wish to copy and the location to which you wish to copy it. @@ -3944,4 +3944,4 @@ - \ No newline at end of file +