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
<paramname="sourceArchiveFileName">To be added.</param>
477
-
<paramname="destinationDirectoryName">To be added.</param>
478
-
<paramname="overwriteFiles">To be added.</param>
479
-
<summary>To be added.</summary>
480
-
<remarks>To be added.</remarks>
476
+
<paramname="sourceArchiveFileName">The path on the file system to the archive that is to be extracted.</param>
477
+
<paramname="destinationDirectoryName">The path to the destination directory on the file system. The directory specified must not exist, but the directory that it is contained in must exist.</param>
478
+
<paramname="overwriteFiles"><seelangword="true" /> to overwrite files; <seelangword="false" /> otherwise.</param>
479
+
<summary>Extracts all of the files in the specified archive to a directory on the file system.</summary>
480
+
<remarks>
481
+
<formattype="text/markdown">
482
+
<![CDATA[
483
+
## Remarks
484
+
The specified directory must not exist. The method creates the specified directory and all subdirectories.
485
+
486
+
If there is an error while extracting the archive, the archive will remain partially extracted.
487
+
488
+
Each entry will be extracted such that the extracted file has the same relative path to the `destinationDirectoryName` as the entry has to the archive.
489
+
490
+
The path can specify relative or absolute path information. A relative path is interpreted as relative to the current working directory.
491
+
492
+
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.
493
+
494
+
]]></format>
495
+
</remarks>
496
+
<exceptioncref="T:System.ArgumentException"><paramrefname="sourceArchiveFileName" /> or <paramrefname="destinationDirectoryName" /> is a zero-length string, contains only whitespace, or contains one or more invalid characters as defined by <seecref="F:System.IO.Path.InvalidPathChars" />.</exception>
497
+
<exceptioncref="T:System.ArgumentNullException"><paramrefname="sourceArchiveFileName" /> or <paramrefname="destinationDirectoryName" /> is <seelangword="null" />.</exception>
498
+
<exceptioncref="T:System.IO.PathTooLongException"><paramrefname="sourceArchiveFileName" /> or <paramrefname="destinationDirectoryName" /> specifies a path, a file name, or both that exceed the system-defined maximum length. </exception>
499
+
<exceptioncref="T:System.IO.DirectoryNotFoundException">The path specified by <paramrefname="sourceArchiveFileName" /> or <paramrefname="destinationDirectoryName" /> is invalid (for example, it is on an unmapped drive).</exception>
500
+
<exceptioncref="T:System.IO.IOException">The directory specified by <paramrefname="destinationDirectoryName" /> already exists.
501
+
502
+
-or-
503
+
504
+
An I/O error has occurred.
505
+
506
+
-or-
507
+
508
+
The name of a <seecref="T:System.IO.Compression.ZipArchiveEntry" /> is zero-length, contains only whitespace, or contains one or more invalid characters as defined by <seecref="F:System.IO.Path.InvalidPathChars" />.
509
+
510
+
-or-
511
+
512
+
Extracting a <seecref="T:System.IO.Compression.ZipArchiveEntry" /> would result in a file destination that is outside the destination directory (for example, because of parent directory accessors).
513
+
514
+
-or-
515
+
516
+
A <seecref="T:System.IO.Compression.ZipArchiveEntry" /> has the same name as an already extracted entry from the same archive.</exception>
517
+
<exceptioncref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
518
+
<exceptioncref="T:System.NotSupportedException">
519
+
<paramrefname="sourceArchiveFileName" /> or <paramrefname="destinationDirectoryName" /> is in an invalid format. </exception>
<paramrefname="sourceArchiveFileName" /> was not found.
522
+
</exception>
523
+
<exceptioncref="T:System.IO.InvalidDataException">The archive specified by <paramrefname="sourceArchiveFileName" /> is not a valid <seecref="T:System.IO.Compression.ZipArchive" />.
524
+
525
+
-or-
526
+
527
+
A <seecref="T:System.IO.Compression.ZipArchiveEntry" /> was not found or was corrupt.
528
+
529
+
-or-
530
+
531
+
A <seecref="T:System.IO.Compression.ZipArchiveEntry" /> has been compressed using a compression method that is not supported.</exception>
<paramname="sourceArchiveFileName">To be added.</param>
611
-
<paramname="destinationDirectoryName">To be added.</param>
612
-
<paramname="entryNameEncoding">To be added.</param>
613
-
<paramname="overwriteFiles">To be added.</param>
614
-
<summary>To be added.</summary>
615
-
<remarks>To be added.</remarks>
661
+
<paramname="sourceArchiveFileName">The path on the file system to the archive that is to be extracted.</param>
662
+
<paramname="destinationDirectoryName">The path to the destination directory on the file system. The directory specified must not exist, but the directory that it is contained in must exist.</param>
663
+
<paramname="entryNameEncoding">The encoding to use when reading entry names in this <seecref="T:System.IO.Compression.ZipArchive" />.</param>
664
+
<paramname="overwriteFiles"><seelangword="true" /> to overwrite files; <seelangword="false" /> otherwise.</param>
665
+
<summary>Extracts all of the files in the specified archive to a directory on the file system.</summary>
666
+
<remarks>
667
+
<formattype="text/markdown"><![CDATA[
668
+
## Remarks
669
+
The specified directory must not exist. This method will create the specified directory and all subdirectories.
670
+
671
+
If there is an error while extracting the archive, the archive will remain partially extracted.
672
+
673
+
Each entry will be extracted such that the extracted file has the same relative path to the `destinationDirectoryName` as the entry has to the archive.
674
+
675
+
The path can specify relative or absolute path information. A relative path is interpreted as relative to the current working directory.
676
+
677
+
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.
678
+
679
+
]]>
680
+
</format>
681
+
</remarks>
682
+
<exceptioncref="T:System.ArgumentException"><paramrefname="sourceArchiveFileName" /> or <paramrefname="destinationDirectoryName" /> is a zero-length string, contains only whitespace, or contains one or more invalid characters as defined by <seecref="F:System.IO.Path.InvalidPathChars" />.
683
+
684
+
-or-
685
+
686
+
<paramrefname="entryNameEncoding" /> is set to a Unicode encoding other than UTF-8.</exception>
687
+
<exceptioncref="T:System.ArgumentNullException"><paramrefname="sourceArchiveFileName" /> or <paramrefname="destinationDirectoryName" /> is <seelangword="null" />.</exception>
688
+
<exceptioncref="T:System.IO.PathTooLongException"><paramrefname="sourceArchiveFileName" /> or <paramrefname="destinationDirectoryName" /> specifies a path, a file name, or both that exceed the system-defined maximum length. </exception>
689
+
<exceptioncref="T:System.IO.DirectoryNotFoundException">The path specified by <paramrefname="sourceArchiveFileName" /> or <paramrefname="destinationDirectoryName" /> is invalid (for example, it is on an unmapped drive).</exception>
690
+
<exceptioncref="T:System.IO.IOException">The directory specified by <paramrefname="destinationDirectoryName" /> already exists.
691
+
692
+
-or-
693
+
694
+
An I/O error has occurred.
695
+
696
+
-or-
697
+
698
+
The name of a <seecref="T:System.IO.Compression.ZipArchiveEntry" /> is zero-length, contains only whitespace, or contains one or more invalid characters as defined by <seecref="F:System.IO.Path.InvalidPathChars" />.
699
+
700
+
-or-
701
+
702
+
Extracting a <seecref="T:System.IO.Compression.ZipArchiveEntry" /> would result in a file destination that is outside the destination directory (for example, because of parent directory accessors).
703
+
704
+
-or-
705
+
706
+
A <seecref="T:System.IO.Compression.ZipArchiveEntry" /> has the same name as an already extracted entry from the same archive.</exception>
707
+
<exceptioncref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
708
+
<exceptioncref="T:System.NotSupportedException"><paramrefname="sourceArchiveFileName" /> or <paramrefname="destinationDirectoryName" /> is in an invalid format. </exception>
709
+
<exceptioncref="T:System.IO.FileNotFoundException"><paramrefname="sourceArchiveFileName" /> was not found.</exception>
710
+
<exceptioncref="T:System.IO.InvalidDataException">The archive specified by <paramrefname="sourceArchiveFileName" /> is not a valid <seecref="T:System.IO.Compression.ZipArchive" />.
711
+
712
+
-or-
713
+
714
+
An archive entry was not found or was corrupt.
715
+
716
+
-or-
717
+
718
+
An archive entry has been compressed using a compression method that is not supported.</exception>
<paramname="destinationDirectoryName">To be added.</param>
366
-
<paramname="overwriteFiles">To be added.</param>
367
-
<summary>To be added.</summary>
368
-
<remarks>To be added.</remarks>
364
+
<paramname="source">The <seecref="T:System.IO.Compression.ZipArchive" /> to extract.</param>
365
+
<paramname="destinationDirectoryName">The path to the destination directory on the file system. The path can be relative or absolute. A relative path is interpreted as relative to the current working directory.</param>
366
+
<paramname="overwriteFiles"><seelangword="true" /> to indicate that existing files are to be overwritten; <seelangword="false" /> otherwise.</param>
367
+
<summary>Extracts all of the files in the archive to a directory on the file system. </summary>
368
+
<remarks>
369
+
<formattype="text/markdown"><![CDATA[
370
+
## Remarks
371
+
The specified directory may already exist. This method will create the specified directory and all subdirectories if necessary.
372
+
373
+
If there is an error while extracting the archive, the archive will remain partially extracted.
374
+
375
+
Each entry will be extracted such that the extracted file has the same relative path to `destinationDirectoryName` as the entry has to the root of the archive.
376
+
377
+
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.
378
+
379
+
]]></format>
380
+
</remarks>
381
+
<exceptioncref="T:System.ArgumentException"><paramrefname="destinationArchiveFileName" /> is a zero-length string, contains only whitespace,
382
+
or contains one or more invalid characters as defined by <seecref="F:System.IO.Path.InvalidPathChars" />.</exception>
383
+
<exceptioncref="T:System.ArgumentNullException"><paramrefname="destinationArchiveFileName" /> is <seelangword="null" />.</exception>
384
+
<exceptioncref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length. </exception>
385
+
<exceptioncref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
386
+
<exceptioncref="T:System.IO.IOException">The name of a <seecref="T:System.IO.Compression.ZipArchiveEntry" /> is zero-length, contains only whitespace, or contains one or more invalid characters as defined by <seecref="F:System.IO.Path.InvalidPathChars" />.
387
+
388
+
-or-
389
+
390
+
Extracting a <seecref="T:System.IO.Compression.ZipArchiveEntry" /> would have resulted in a destination file that is outside <paramrefname="destinationArchiveFileName" /> (for example, if the entry name contains parent directory accessors).
391
+
392
+
-or-
393
+
394
+
A <seecref="T:System.IO.Compression.ZipArchiveEntry" /> has the same name as an already extracted entry from the same archive.</exception>
395
+
<exceptioncref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
396
+
<exceptioncref="T:System.NotSupportedException"><paramrefname="destinationArchiveFileName" /> is in an invalid format. </exception>
397
+
<exceptioncref="T:System.IO.InvalidDataException">A <seecref="T:System.IO.Compression.ZipArchiveEntry" /> was not found or was corrupt.
398
+
399
+
-or-
400
+
401
+
A <seecref="T:System.IO.Compression.ZipArchiveEntry" /> has been compressed using a compression method that is not supported.</exception>
0 commit comments