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.Compression/ZipFile.xml
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1021,7 +1021,7 @@ An I/O error occurred while opening a file to be archived.</exception>
1021
1021
<remarks>This method creates the specified directory and all subdirectories. The destination directory cannot already exist.
1022
1022
Exceptions related to validating the paths in the <paramrefname="destinationDirectoryName" /> or the files in the zip archive contained in <paramrefname="source" /> parameters are thrown before extraction. Otherwise, if an error occurs during extraction, the archive remains partially extracted.
1023
1023
Each extracted file has the same relative path to the directory specified by <paramrefname="destinationDirectoryName" /> as its source entry has to the root of the archive.
1024
-
If an entry in the zip archive is a symbolic link, it will be extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1024
+
If an entry in the zip archive is a symbolic link, it's extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1025
1025
If a file to be archived has an invalid last modified time, the first date and time representable in the zip timestamp format (midnight on January 1, 1980) will be used.</remarks>
1026
1026
<exceptioncref="T:System.ArgumentException">
1027
1027
<paramrefname="destinationDirectoryName" /> is <seecref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception>
@@ -1101,7 +1101,7 @@ An archive entry was compressed by using a compression method that isn't support
1101
1101
## Remarks
1102
1102
This method creates the specified directory and all subdirectories. The destination directory cannot already exist. Exceptions related to validating the paths in the `destinationDirectoryName` or `sourceArchiveFileName` parameters are thrown before extraction. Otherwise, if an error occurs during extraction, the archive remains partially extracted. Each extracted file has the same relative path to the directory specified by `destinationDirectoryName` as its source entry has to the root of the archive.
1103
1103
1104
-
If an entry in the zip archive is a symbolic link, it will be extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1104
+
If an entry in the zip archive is a symbolic link, it's extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1105
1105
1106
1106
## Examples
1107
1107
This example shows how to create and extract a zip archive by using the <xref:System.IO.Compression.ZipFile> class. It compresses the contents of a folder into a zip archive and extracts that content to a new folder. To use the <xref:System.IO.Compression.ZipFile> class, you must reference the `System.IO.Compression.FileSystem` assembly in your project.
@@ -1177,7 +1177,7 @@ An archive entry was compressed by using a compression method that isn't support
1177
1177
<remarks>This method creates the specified directory and all subdirectories. The destination directory cannot already exist.
1178
1178
Exceptions related to validating the paths in the <paramrefname="destinationDirectoryName" /> or the files in the zip archive contained in <paramrefname="source" /> parameters are thrown before extraction. Otherwise, if an error occurs during extraction, the archive remains partially extracted.
1179
1179
Each extracted file has the same relative path to the directory specified by <paramrefname="destinationDirectoryName" /> as its source entry has to the root of the archive.
1180
-
If an entry in the zip archive is a symbolic link, it will be extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1180
+
If an entry in the zip archive is a symbolic link, it's extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1181
1181
If a file to be archived has an invalid last modified time, the first date and time representable in the zip timestamp format (midnight on January 1, 1980) will be used.</remarks>
1182
1182
<exceptioncref="T:System.ArgumentException">
1183
1183
<paramrefname="destinationDirectoryName" /> is <seecref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception>
@@ -1334,7 +1334,7 @@ Each entry will be extracted such that the extracted file has the same relative
1334
1334
1335
1335
The `sourceArchiveFileName` and `destinationDirectoryName` parameters accept both relative and absolute paths. A relative path is interpreted as relative to the current working directory.
1336
1336
1337
-
If an entry in the zip archive is a symbolic link, it will be extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1337
+
If an entry in the zip archive is a symbolic link, it's extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1338
1338
1339
1339
If a file to be archived has an invalid last modified time, the first date and time representable in the zip timestamp format (midnight on January 1, 1980) will be used.
1340
1340
@@ -1442,7 +1442,7 @@ A <see cref="T:System.IO.Compression.ZipArchiveEntry" /> has been compressed usi
1442
1442
1443
1443
This method creates the specified directory and all subdirectories, if necessary. Exceptions related to validating the paths in the `destinationDirectoryName` or `sourceArchiveFileName` parameters are thrown before extraction. Otherwise, if an error occurs during extraction, the archive remains partially extracted. Each extracted file has the same relative path to the directory specified by `destinationDirectoryName` as its source entry has to the root of the archive.
1444
1444
1445
-
If an entry in the zip archive is a symbolic link, it will be extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1445
+
If an entry in the zip archive is a symbolic link, it's extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1446
1446
1447
1447
If `entryNameEncoding` is set to a value other than `null`, entry names and comments are decoded according to the following rules:
1448
1448
@@ -1534,7 +1534,7 @@ If `entryNameEncoding` is set to `null`, entry names and comments are decoded ac
1534
1534
<remarks>This method creates the specified directory and all subdirectories. The destination directory cannot already exist.
1535
1535
Exceptions related to validating the paths in the <paramrefname="destinationDirectoryName" /> or the files in the zip archive contained in <paramrefname="source" /> parameters are thrown before extraction. Otherwise, if an error occurs during extraction, the archive remains partially extracted.
1536
1536
Each extracted file has the same relative path to the directory specified by <paramrefname="destinationDirectoryName" /> as its source entry has to the root of the archive.
1537
-
If an entry in the zip archive is a symbolic link, it will be extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1537
+
If an entry in the zip archive is a symbolic link, it's extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1538
1538
If a file to be archived has an invalid last modified time, the first date and time representable in the zip timestamp format (midnight on January 1, 1980) will be used.</remarks>
1539
1539
<exceptioncref="T:System.ArgumentException">
1540
1540
<paramrefname="destinationDirectoryName" /> is <seecref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.
@@ -1631,7 +1631,7 @@ An archive entry was compressed by using a compression method that isn't support
1631
1631
1632
1632
The `sourceArchiveFileName` and `destinationDirectoryName` parameters accept both relative and absolute paths. A relative path is interpreted as relative to the current working directory.
1633
1633
1634
-
If an entry in the zip archive is a symbolic link, it will be extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1634
+
If an entry in the zip archive is a symbolic link, it's extracted as a regular folder since symbolic link information isn't preserved in the ZIP format.
1635
1635
1636
1636
If a file to be archived has an invalid last modified time, the first date and time representable in the zip timestamp format (midnight on January 1, 1980) will be used.
0 commit comments