Skip to content

Commit 82f1edd

Browse files
authored
Update data refresh description on DirectoryInfo.Create (#4240)
* Update data refresh description on DirectoryInfo.Create * revert line in Refresh
1 parent a453ba7 commit 82f1edd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

xml/System.IO/DirectoryInfo.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,10 @@
221221
<format type="text/markdown"><![CDATA[
222222
223223
## Remarks
224+
224225
If the directory already exists, this method does nothing.
226+
227+
If the directory did not exist before calling this method, then any cached attribute information about the directory will be flushed if the creation is successful.
225228
226229
For a list of common I/O tasks, see [Common I/O Tasks](~/docs/standard/io/common-i-o-tasks.md).
227230

xml/System.IO/FileSystemInfo.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,8 +1285,7 @@ On Unix platforms that do not support creation or birth time, this property retu
12851285
12861286
## Remarks
12871287
`FileSystemInfo.Refresh` takes a snapshot of the file from the current file system. `Refresh` cannot correct the underlying file system even if the file system returns incorrect or outdated information. This can happen on platforms such as Windows 98.
1288-
1289-
Calls must be made to `Refresh` before attempting to get the attribute information, or the information will be outdated.
1288+
Calls must be made to `Refresh` before attempting to get the attribute information, or the information will be outdated.
12901289
12911290
]]></format>
12921291
</remarks>

0 commit comments

Comments
 (0)