Skip to content

Commit fef7a23

Browse files
authored
add missing language selector (dotnet#9177)
1 parent c9c8d3c commit fef7a23

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/standard/io/file-path-formats.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ helpviewer_keywords:
66
- "I/O, long paths"
77
- "long paths"
88
- "path formats, Windows"
9+
dev_langs:
10+
- "csharp"
11+
- "vb"
912
author: "rpetrusha"
1013
ms.author: "ronpet"
1114
---
@@ -197,6 +200,11 @@ A peculiarity of the Windows file system that non-Windows users and developers f
197200
```csharp
198201
Directory.Create("TeStDiReCtOrY");
199202
```
203+
204+
```vb
205+
Directory.Create("TeStDiReCtOrY")
206+
```
207+
200208
creates a directory named TeStDiReCtOrY. If you rename a directory or file to change its case, the directory or file name reflects the case of the string used when you rename it. For example, the following code renames a file named test.txt to Test.txt:
201209

202210
```csharp
@@ -211,7 +219,8 @@ class Example
211219
fi.MoveTo(@".\Test.txt");
212220
}
213221
}
214-
```
222+
```
223+
215224
```vb
216225
Imports System.IO
217226

0 commit comments

Comments
 (0)