You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.IO/File.xml
+70-14Lines changed: 70 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -848,7 +848,11 @@
848
848
849
849
-or-
850
850
851
-
<paramrefname="destFileName" /> is read-only.</exception>
851
+
<paramrefname="destFileName" /> is read-only.
852
+
853
+
-or-
854
+
855
+
<paramrefname="overwrite" /> is <seelangword="true" />, <paramrefname="destFileName" /> exists and is hidden, but <paramrefname="sourceFileName" /> is not hidden.</exception>
852
856
<exceptioncref="T:System.ArgumentException">
853
857
<paramrefname="sourceFileName" /> or <paramrefname="destFileName" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <seecref="F:System.IO.Path.InvalidPathChars" />.
854
858
@@ -961,7 +965,11 @@
961
965
962
966
-or-
963
967
964
-
<paramrefname="path" /> specified a file that is read-only.</exception>
968
+
<paramrefname="path" /> specified a file that is read-only.
969
+
970
+
-or-
971
+
972
+
<paramrefname="path" /> specified a file that is hidden.</exception>
965
973
<exceptioncref="T:System.ArgumentException">
966
974
<paramrefname="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <seecref="F:System.IO.Path.InvalidPathChars" />.</exception>
967
975
<exceptioncref="T:System.ArgumentNullException">
@@ -1051,7 +1059,11 @@
1051
1059
1052
1060
-or-
1053
1061
1054
-
<paramrefname="path" /> specified a file that is read-only.</exception>
1062
+
<paramrefname="path" /> specified a file that is read-only.
1063
+
1064
+
-or-
1065
+
1066
+
<paramrefname="path" /> specified a file that is hidden.</exception>
1055
1067
<exceptioncref="T:System.ArgumentException">
1056
1068
<paramrefname="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <seecref="F:System.IO.Path.InvalidPathChars" />.</exception>
1057
1069
<exceptioncref="T:System.ArgumentNullException">
@@ -1131,7 +1143,11 @@
1131
1143
1132
1144
-or-
1133
1145
1134
-
<paramrefname="path" /> specified a file that is read-only.</exception>
1146
+
<paramrefname="path" /> specified a file that is read-only.
1147
+
1148
+
-or-
1149
+
1150
+
<paramrefname="path" /> specified a file that is hidden.</exception>
1135
1151
<exceptioncref="T:System.ArgumentException">
1136
1152
<paramrefname="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <seecref="F:System.IO.Path.InvalidPathChars" />.</exception>
1137
1153
<exceptioncref="T:System.ArgumentNullException">
@@ -1197,7 +1213,11 @@
1197
1213
1198
1214
-or-
1199
1215
1200
-
<paramrefname="path" /> specified a file that is read-only.</exception>
1216
+
<paramrefname="path" /> specified a file that is read-only.
1217
+
1218
+
-or-
1219
+
1220
+
<paramrefname="path" /> specified a file that is hidden.</exception>
1201
1221
<exceptioncref="T:System.ArgumentException">
1202
1222
<paramrefname="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <seecref="F:System.IO.Path.InvalidPathChars" />.</exception>
1203
1223
<exceptioncref="T:System.ArgumentNullException">
@@ -1273,7 +1293,15 @@
1273
1293
1274
1294
]]></format>
1275
1295
</remarks>
1276
-
<exceptioncref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
1296
+
<exceptioncref="T:System.UnauthorizedAccessException">The caller does not have the required permission.
1297
+
1298
+
-or-
1299
+
1300
+
<paramrefname="path" /> specified a file that is read-only.
1301
+
1302
+
-or-
1303
+
1304
+
<paramrefname="path" /> specified a file that is hidden.</exception>
1277
1305
<exceptioncref="T:System.ArgumentException">
1278
1306
<paramrefname="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <seecref="F:System.IO.Path.InvalidPathChars" />.</exception>
1279
1307
<exceptioncref="T:System.ArgumentNullException">
@@ -4757,7 +4785,11 @@
4757
4785
<exceptioncref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
4758
4786
<exceptioncref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
0 commit comments