You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

286 lines
40 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doc>
  3. <assembly>
  4. <name>System.IO.Compression.ZipFile</name>
  5. </assembly>
  6. <members>
  7. <member name="T:System.IO.Compression.ZipFile">
  8. <summary>zip アーカイブの作成、抽出、および解凍の静的メソッドを提供します。</summary>
  9. </member>
  10. <member name="M:System.IO.Compression.ZipFile.CreateFromDirectory(System.String,System.String)">
  11. <summary>指定したディレクトリのファイルおよびディレクトリを含む zip アーカイブを作成します。</summary>
  12. <param name="sourceDirectoryName">アーカイブするディレクトリのパス。相対パスまたは絶対パスとして指定します。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  13. <param name="destinationArchiveFileName">作成するアーカイブのパス。相対パスまたは絶対パスとして指定します。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  14. <exception cref="T:System.ArgumentException">
  15. <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception>
  16. <exception cref="T:System.ArgumentNullException">
  17. <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is null.</exception>
  18. <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" />, the specified path, file name, or both exceed the system-defined maximum length.For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
  19. <exception cref="T:System.IO.DirectoryNotFoundException">
  20. <paramref name="sourceDirectoryName" /> is invalid or does not exist (for example, it is on an unmapped drive).</exception>
  21. <exception cref="T:System.IO.IOException">
  22. <paramref name="destinationArchiveFileName" /> already exists.-or-A file in the specified directory could not be opened.</exception>
  23. <exception cref="T:System.UnauthorizedAccessException">
  24. <paramref name="destinationArchiveFileName" /> specifies a directory.-or-The caller does not have the required permission to access the directory specified in <paramref name="sourceDirectoryName" /> or the file specified in <paramref name="destinationArchiveFileName" />.</exception>
  25. <exception cref="T:System.NotSupportedException">
  26. <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> contains an invalid format.-or-The zip archive does not support writing.</exception>
  27. </member>
  28. <member name="M:System.IO.Compression.ZipFile.CreateFromDirectory(System.String,System.String,System.IO.Compression.CompressionLevel,System.Boolean)">
  29. <summary>指定したディレクトリのファイルおよびディレクトリを含む zip アーカイブを作成し、指定した圧縮レベルを使用し、オプションでベース ディレクトリを含みます。</summary>
  30. <param name="sourceDirectoryName">アーカイブするディレクトリのパス。相対パスまたは絶対パスとして指定します。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  31. <param name="destinationArchiveFileName">作成するアーカイブのパス。相対パスまたは絶対パスとして指定します。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  32. <param name="compressionLevel">エントリの作成時に速度または圧縮の有効性を強調するかどうかを示す列挙値の 1 つ。</param>
  33. <param name="includeBaseDirectory">アーカイブのルートにある <paramref name="sourceDirectoryName" /> からのディレクトリ名を含める場合は true。ディレクトリの内容のみを含める場合は false。</param>
  34. <exception cref="T:System.ArgumentException">
  35. <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception>
  36. <exception cref="T:System.ArgumentNullException">
  37. <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is null.</exception>
  38. <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" />, the specified path, file name, or both exceed the system-defined maximum length.For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
  39. <exception cref="T:System.IO.DirectoryNotFoundException">
  40. <paramref name="sourceDirectoryName" /> is invalid or does not exist (for example, it is on an unmapped drive).</exception>
  41. <exception cref="T:System.IO.IOException">
  42. <paramref name="destinationArchiveFileName" /> already exists.-or-A file in the specified directory could not be opened.</exception>
  43. <exception cref="T:System.UnauthorizedAccessException">
  44. <paramref name="destinationArchiveFileName" /> specifies a directory.-or-The caller does not have the required permission to access the directory specified in <paramref name="sourceDirectoryName" /> or the file specified in <paramref name="destinationArchiveFileName" />.</exception>
  45. <exception cref="T:System.NotSupportedException">
  46. <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> contains an invalid format.-or-The zip archive does not support writing.</exception>
  47. </member>
  48. <member name="M:System.IO.Compression.ZipFile.CreateFromDirectory(System.String,System.String,System.IO.Compression.CompressionLevel,System.Boolean,System.Text.Encoding)">
  49. <summary>指定したディレクトリのファイルおよびディレクトリを含む zip アーカイブを作成し、指定した圧縮レベルとエントリ名の文字エンコーディングを使用し、オプションでベース ディレクトリを含みます。</summary>
  50. <param name="sourceDirectoryName">アーカイブするディレクトリのパス。相対パスまたは絶対パスとして指定します。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  51. <param name="destinationArchiveFileName">作成するアーカイブのパス。相対パスまたは絶対パスとして指定します。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  52. <param name="compressionLevel">エントリの作成時に速度または圧縮の有効性を強調するかどうかを示す列挙値の 1 つ。</param>
  53. <param name="includeBaseDirectory">アーカイブのルートにある <paramref name="sourceDirectoryName" /> からのディレクトリ名を含める場合は true。ディレクトリの内容のみを含める場合は false。</param>
  54. <param name="entryNameEncoding">このアーカイブのエントリ名の読み取りまたは書き込み時に使用するエンコード。エントリ名の UTF-8 エンコードをサポートしない zip アーカイブ ツールとライブラリとの相互運用性のためにエンコードが必要な場合にのみ、このパラメーターの値を指定してください。</param>
  55. <exception cref="T:System.ArgumentException">
  56. <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.-or-<paramref name="entryNameEncoding" /> is set to a Unicode encoding other than UTF-8.</exception>
  57. <exception cref="T:System.ArgumentNullException">
  58. <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is null.</exception>
  59. <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" />, the specified path, file name, or both exceed the system-defined maximum length.For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
  60. <exception cref="T:System.IO.DirectoryNotFoundException">
  61. <paramref name="sourceDirectoryName" /> is invalid or does not exist (for example, it is on an unmapped drive).</exception>
  62. <exception cref="T:System.IO.IOException">
  63. <paramref name="destinationArchiveFileName" /> already exists.-or-A file in the specified directory could not be opened.</exception>
  64. <exception cref="T:System.UnauthorizedAccessException">
  65. <paramref name="destinationArchiveFileName" /> specifies a directory.-or-The caller does not have the required permission to access the directory specified in <paramref name="sourceDirectoryName" /> or the file specified in <paramref name="destinationArchiveFileName" />.</exception>
  66. <exception cref="T:System.NotSupportedException">
  67. <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> contains an invalid format.-or-The zip archive does not support writing.</exception>
  68. </member>
  69. <member name="M:System.IO.Compression.ZipFile.ExtractToDirectory(System.String,System.String)">
  70. <summary>指定した zip アーカイブのすべてのファイルをファイル システムのディレクトリに抽出します。</summary>
  71. <param name="sourceArchiveFileName">抽出するアーカイブのパス。</param>
  72. <param name="destinationDirectoryName">抽出ファイルを置くディレクトリのパス。相対パスまたは絶対パスとして指定します。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  73. <exception cref="T:System.ArgumentException">
  74. <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception>
  75. <exception cref="T:System.ArgumentNullException">
  76. <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> is null.</exception>
  77. <exception cref="T:System.IO.PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> exceeds the system-defined maximum length.For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
  78. <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
  79. <exception cref="T:System.IO.IOException">The directory specified by <paramref name="destinationDirectoryName" /> already exists.-or-The name of an entry in the archive is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.-or-Extracting an archive entry would create a file that is outside the directory specified by <paramref name="destinationDirectoryName" />.(For example, this might happen if the entry name contains parent directory accessors.)-or-An archive entry to extract has the same name as an entry that has already been extracted from the same archive.</exception>
  80. <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission to access the archive or the destination directory.</exception>
  81. <exception cref="T:System.NotSupportedException">
  82. <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> contains an invalid format.</exception>
  83. <exception cref="T:System.IO.FileNotFoundException">
  84. <paramref name="sourceArchiveFileName" /> was not found.</exception>
  85. <exception cref="T:System.IO.InvalidDataException">The archive specified by <paramref name="sourceArchiveFileName" /> is not a valid zip archive.-or-An archive entry was not found or was corrupt.-or-An archive entry was compressed by using a compression method that is not supported.</exception>
  86. </member>
  87. <member name="M:System.IO.Compression.ZipFile.ExtractToDirectory(System.String,System.String,System.Text.Encoding)">
  88. <summary>指定した zip アーカイブのすべてのファイルをファイル システムのディレクトリに抽出し、エントリ名に指定した文字エンコーディングを使用します。</summary>
  89. <param name="sourceArchiveFileName">抽出するアーカイブのパス。</param>
  90. <param name="destinationDirectoryName">抽出ファイルを置くディレクトリのパス。相対パスまたは絶対パスとして指定します。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  91. <param name="entryNameEncoding">このアーカイブのエントリ名の読み取りまたは書き込み時に使用するエンコード。エントリ名の UTF-8 エンコードをサポートしない zip アーカイブ ツールとライブラリとの相互運用性のためにエンコードが必要な場合にのみ、このパラメーターの値を指定してください。</param>
  92. <exception cref="T:System.ArgumentException">
  93. <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.-or-<paramref name="entryNameEncoding" /> is set to a Unicode encoding other than UTF-8.</exception>
  94. <exception cref="T:System.ArgumentNullException">
  95. <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> is null.</exception>
  96. <exception cref="T:System.IO.PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> exceeds the system-defined maximum length.For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
  97. <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
  98. <exception cref="T:System.IO.IOException">The directory specified by <paramref name="destinationDirectoryName" /> already exists.-or-The name of an entry in the archive is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.-or-Extracting an archive entry would create a file that is outside the directory specified by <paramref name="destinationDirectoryName" />.(For example, this might happen if the entry name contains parent directory accessors.)-or-An archive entry to extract has the same name as an entry that has already been extracted from the same archive.</exception>
  99. <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission to access the archive or the destination directory.</exception>
  100. <exception cref="T:System.NotSupportedException">
  101. <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> contains an invalid format.</exception>
  102. <exception cref="T:System.IO.FileNotFoundException">
  103. <paramref name="sourceArchiveFileName" /> was not found.</exception>
  104. <exception cref="T:System.IO.InvalidDataException">The archive specified by <paramref name="sourceArchiveFileName" /> is not a valid zip archive.-or-An archive entry was not found or was corrupt.-or-An archive entry was compressed by using a compression method that is not supported.</exception>
  105. </member>
  106. <member name="M:System.IO.Compression.ZipFile.Open(System.String,System.IO.Compression.ZipArchiveMode)">
  107. <summary>指定したパスとモードで zip アーカイブを開きます。</summary>
  108. <returns>開いている zip アーカイブ。</returns>
  109. <param name="archiveFileName">開くアーカイブのパス。相対パスまたは絶対パスとして指定します。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  110. <param name="mode">開いているアーカイブのエントリで許可されている操作を指定する列挙値の 1 つ。</param>
  111. <exception cref="T:System.ArgumentException">
  112. <paramref name="archiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception>
  113. <exception cref="T:System.ArgumentNullException">
  114. <paramref name="archiveFileName" /> is null.</exception>
  115. <exception cref="T:System.IO.PathTooLongException">In <paramref name="archiveFileName" />, the specified path, file name, or both exceed the system-defined maximum length.For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
  116. <exception cref="T:System.IO.DirectoryNotFoundException">
  117. <paramref name="archiveFileName" /> is invalid or does not exist (for example, it is on an unmapped drive).</exception>
  118. <exception cref="T:System.IO.IOException">
  119. <paramref name="archiveFileName" /> could not be opened.-or-<paramref name="mode" /> is set to <see cref="F:System.IO.Compression.ZipArchiveMode.Create" />, but the file specified in <paramref name="archiveFileName" /> already exists.</exception>
  120. <exception cref="T:System.UnauthorizedAccessException">
  121. <paramref name="archiveFileName" /> specifies a directory.-or-The caller does not have the required permission to access the file specified in <paramref name="archiveFileName" />.</exception>
  122. <exception cref="T:System.ArgumentOutOfRangeException">
  123. <paramref name="mode" /> specifies an invalid value.</exception>
  124. <exception cref="T:System.IO.FileNotFoundException">
  125. <paramref name="mode" /> is set to <see cref="F:System.IO.Compression.ZipArchiveMode.Read" />, but the file specified in <paramref name="archiveFileName" /> is not found.</exception>
  126. <exception cref="T:System.NotSupportedException">
  127. <paramref name="archiveFileName" /> contains an invalid format.</exception>
  128. <exception cref="T:System.IO.InvalidDataException">
  129. <paramref name="archiveFileName" /> could not be interpreted as a zip archive.-or-<paramref name="mode" /> is <see cref="F:System.IO.Compression.ZipArchiveMode.Update" />, but an entry is missing or corrupt and cannot be read.-or-<paramref name="mode" /> is <see cref="F:System.IO.Compression.ZipArchiveMode.Update" />, but an entry is too large to fit into memory.</exception>
  130. </member>
  131. <member name="M:System.IO.Compression.ZipFile.Open(System.String,System.IO.Compression.ZipArchiveMode,System.Text.Encoding)">
  132. <summary>指定されたモードで、エントリ名に指定された文字エンコーディングを使用して指定されたパスの zip のアーカイブを開きます。</summary>
  133. <returns>開いている zip アーカイブ。</returns>
  134. <param name="archiveFileName">開くアーカイブのパス。相対パスまたは絶対パスとして指定します。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  135. <param name="mode">開いているアーカイブのエントリで許可されている操作を指定する列挙値の 1 つ。</param>
  136. <param name="entryNameEncoding">このアーカイブのエントリ名の読み取りまたは書き込み時に使用するエンコード。エントリ名の UTF-8 エンコードをサポートしない zip アーカイブ ツールとライブラリとの相互運用性のためにエンコードが必要な場合にのみ、このパラメーターの値を指定してください。</param>
  137. <exception cref="T:System.ArgumentException">
  138. <paramref name="archiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.-or-<paramref name="entryNameEncoding" /> is set to a Unicode encoding other than UTF-8.</exception>
  139. <exception cref="T:System.ArgumentNullException">
  140. <paramref name="archiveFileName" /> is null.</exception>
  141. <exception cref="T:System.IO.PathTooLongException">In <paramref name="archiveFileName" />, the specified path, file name, or both exceed the system-defined maximum length.For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
  142. <exception cref="T:System.IO.DirectoryNotFoundException">
  143. <paramref name="archiveFileName" /> is invalid or does not exist (for example, it is on an unmapped drive).</exception>
  144. <exception cref="T:System.IO.IOException">
  145. <paramref name="archiveFileName" /> could not be opened.-or-<paramref name="mode" /> is set to <see cref="F:System.IO.Compression.ZipArchiveMode.Create" />, but the file specified in <paramref name="archiveFileName" /> already exists.</exception>
  146. <exception cref="T:System.UnauthorizedAccessException">
  147. <paramref name="archiveFileName" /> specifies a directory.-or-The caller does not have the required permission to access the file specified in <paramref name="archiveFileName" />.</exception>
  148. <exception cref="T:System.ArgumentOutOfRangeException">
  149. <paramref name="mode" /> specifies an invalid value.</exception>
  150. <exception cref="T:System.IO.FileNotFoundException">
  151. <paramref name="mode" /> is set to <see cref="F:System.IO.Compression.ZipArchiveMode.Read" />, but the file specified in <paramref name="archiveFileName" /> is not found.</exception>
  152. <exception cref="T:System.NotSupportedException">
  153. <paramref name="archiveFileName" /> contains an invalid format.</exception>
  154. <exception cref="T:System.IO.InvalidDataException">
  155. <paramref name="archiveFileName" /> could not be interpreted as a zip archive.-or-<paramref name="mode" /> is <see cref="F:System.IO.Compression.ZipArchiveMode.Update" />, but an entry is missing or corrupt and cannot be read.-or-<paramref name="mode" /> is <see cref="F:System.IO.Compression.ZipArchiveMode.Update" />, but an entry is too large to fit into memory.</exception>
  156. </member>
  157. <member name="M:System.IO.Compression.ZipFile.OpenRead(System.String)">
  158. <summary>指定されたパスで読み取りのための zip のアーカイブを開きます。</summary>
  159. <returns>開いている zip アーカイブ。</returns>
  160. <param name="archiveFileName">開くアーカイブのパス。相対パスまたは絶対パスとして指定します。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  161. <exception cref="T:System.ArgumentException">
  162. <paramref name="archiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception>
  163. <exception cref="T:System.ArgumentNullException">
  164. <paramref name="archiveFileName" /> is null.</exception>
  165. <exception cref="T:System.IO.PathTooLongException">In <paramref name="archiveFileName" />, the specified path, file name, or both exceed the system-defined maximum length.For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
  166. <exception cref="T:System.IO.DirectoryNotFoundException">
  167. <paramref name="archiveFileName" /> is invalid or does not exist (for example, it is on an unmapped drive).</exception>
  168. <exception cref="T:System.IO.IOException">
  169. <paramref name="archiveFileName" /> could not be opened.</exception>
  170. <exception cref="T:System.UnauthorizedAccessException">
  171. <paramref name="archiveFileName" /> specifies a directory.-or-The caller does not have the required permission to access the file specified in <paramref name="archiveFileName" />.</exception>
  172. <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="archiveFileName" /> is not found.</exception>
  173. <exception cref="T:System.NotSupportedException">
  174. <paramref name="archiveFileName" /> contains an invalid format.</exception>
  175. <exception cref="T:System.IO.InvalidDataException">
  176. <paramref name="archiveFileName" /> could not be interpreted as a zip archive.</exception>
  177. </member>
  178. <member name="T:System.IO.Compression.ZipFileExtensions">
  179. <summary>
  180. <see cref="T:System.IO.Compression.ZipArchive" /> と <see cref="T:System.IO.Compression.ZipArchiveEntry" /> のクラスの拡張メソッドを提供します。</summary>
  181. </member>
  182. <member name="M:System.IO.Compression.ZipFileExtensions.CreateEntryFromFile(System.IO.Compression.ZipArchive,System.String,System.String)">
  183. <summary>圧縮し、zip アーカイブに追加することでファイルをアーカイブします。</summary>
  184. <returns>zip アーカイブ内の新しいエントリのラッパー。</returns>
  185. <param name="destination">ファイルに追加するzip アーカイブ。</param>
  186. <param name="sourceFileName">アーカイブするファイルへのパス。相対パスまたは絶対パスを指定できます。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  187. <param name="entryName">zip アーカイブ内に作成するエントリの名前。</param>
  188. <exception cref="T:System.ArgumentException">
  189. <paramref name="sourceFileName" /> が <see cref="F:System.String.Empty" /> であるか、空白文字のみが含まれているか、無効な文字が少なくとも 1 つ含まれています。または<paramref name="entryName" /> は <see cref="F:System.String.Empty" /> なので、</exception>
  190. <exception cref="T:System.ArgumentNullException">
  191. <paramref name="sourceFileName" /> または <paramref name="entryName" /> が null です。</exception>
  192. <exception cref="T:System.IO.PathTooLongException">
  193. <paramref name="sourceFileName" /> で、指定したパス、ファイル名、またはその両方がシステム定義の最大長を超えています。たとえば、Windows ベースのプラットフォームの場合、パスの長さは 248 文字未満、ファイル名の長さは 260 文字未満である必要があります。</exception>
  194. <exception cref="T:System.IO.DirectoryNotFoundException">
  195. <paramref name="sourceFileName" /> が無効です (割り当てられていないドライブであるなど)。</exception>
  196. <exception cref="T:System.IO.IOException">
  197. <paramref name="sourceFileName" /> で指定されたファイルを開けません。</exception>
  198. <exception cref="T:System.UnauthorizedAccessException">
  199. <paramref name="sourceFileName" /> はディレクトリを指定します。または<paramref name="sourceFileName" /> によって指定されたファイルにアクセスするために必要なアクセス許可が呼び出し元にありません。</exception>
  200. <exception cref="T:System.IO.FileNotFoundException">
  201. <paramref name="sourceFileName" /> で指定されたファイルが見つかりません。</exception>
  202. <exception cref="T:System.NotSupportedException">
  203. <paramref name="sourceFileName" /> パラメーターの書式が無効です。またはzip アーカイブは書き込みをサポートしません。</exception>
  204. <exception cref="T:System.ObjectDisposedException">zip アーカイブが破棄されました。</exception>
  205. </member>
  206. <member name="M:System.IO.Compression.ZipFileExtensions.CreateEntryFromFile(System.IO.Compression.ZipArchive,System.String,System.String,System.IO.Compression.CompressionLevel)">
  207. <summary>指定した圧縮レベルで圧縮し、zip アーカイブに追加することでファイルをアーカイブします。</summary>
  208. <returns>zip アーカイブ内の新しいエントリのラッパー。</returns>
  209. <param name="destination">ファイルに追加するzip アーカイブ。</param>
  210. <param name="sourceFileName">アーカイブするファイルへのパス。相対パスまたは絶対パスを指定できます。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  211. <param name="entryName">zip アーカイブ内に作成するエントリの名前。</param>
  212. <param name="compressionLevel">エントリの作成時に速度または圧縮の有効性を強調するかどうかを示す列挙値の 1 つ。</param>
  213. <exception cref="T:System.ArgumentException">
  214. <paramref name="sourceFileName" /> が <see cref="F:System.String.Empty" /> であるか、空白文字のみが含まれているか、無効な文字が少なくとも 1 つ含まれています。または<paramref name="entryName" /> は <see cref="F:System.String.Empty" /> なので、</exception>
  215. <exception cref="T:System.ArgumentNullException">
  216. <paramref name="sourceFileName" /> または <paramref name="entryName" /> が null です。</exception>
  217. <exception cref="T:System.IO.DirectoryNotFoundException">
  218. <paramref name="sourceFileName" /> が無効です (割り当てられていないドライブであるなど)。</exception>
  219. <exception cref="T:System.IO.PathTooLongException">
  220. <paramref name="sourceFileName" /> で、指定したパス、ファイル名、またはその両方がシステム定義の最大長を超えています。たとえば、Windows ベースのプラットフォームの場合、パスの長さは 248 文字未満、ファイル名の長さは 260 文字未満である必要があります。</exception>
  221. <exception cref="T:System.IO.IOException">
  222. <paramref name="sourceFileName" /> で指定されたファイルを開けません。</exception>
  223. <exception cref="T:System.UnauthorizedAccessException">
  224. <paramref name="sourceFileName" /> はディレクトリを指定します。または<paramref name="sourceFileName" /> によって指定されたファイルにアクセスするために必要なアクセス許可が呼び出し元にありません。</exception>
  225. <exception cref="T:System.IO.FileNotFoundException">
  226. <paramref name="sourceFileName" /> で指定されたファイルが見つかりません。</exception>
  227. <exception cref="T:System.NotSupportedException">
  228. <paramref name="sourceFileName" /> パラメーターの書式が無効です。またはzip アーカイブは書き込みをサポートしません。</exception>
  229. <exception cref="T:System.ObjectDisposedException">zip アーカイブが破棄されました。</exception>
  230. </member>
  231. <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToDirectory(System.IO.Compression.ZipArchive,System.String)">
  232. <summary>zip アーカイブのすべてのファイルをファイル システムのディレクトリに抽出します。</summary>
  233. <param name="source">ファイルの抽出元となる zip アーカイブ。</param>
  234. <param name="destinationDirectoryName">抽出ファイルを置くディレクトリのパス。相対パスまたは絶対パスを指定できます。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  235. <exception cref="T:System.ArgumentException">
  236. <paramref name="destinationDirectoryName" /> が <see cref="F:System.String.Empty" /> であるか、空白文字のみが含まれているか、無効な文字が少なくとも 1 つ含まれています。</exception>
  237. <exception cref="T:System.ArgumentNullException">
  238. <paramref name="destinationDirectoryName" /> は null なので、</exception>
  239. <exception cref="T:System.IO.PathTooLongException">指定されたパスがシステムで定義されている最大長を超えています。たとえば、Windows ベースのプラットフォームの場合、パスの長さは 248 文字未満、ファイル名の長さは 260 文字未満である必要があります。</exception>
  240. <exception cref="T:System.IO.DirectoryNotFoundException">指定したパスが無効です (割り当てられていないドライブであるなど)。</exception>
  241. <exception cref="T:System.IO.IOException">
  242. <paramref name="destinationDirectoryName" /> で指定されたディレクトリは既に存在します。またはアーカイブ内のエントリの名前が <see cref="F:System.String.Empty" /> であるか、名前に空白だけが含まれているか、無効な文字が少なくとも 1 つ含まれています。またはアーカイブからエントリを抽出すると、<paramref name="destinationDirectoryName" /> で指定されているディレクトリの外部にファイルが作成されます。(たとえば、エントリ名に親ディレクトリのアクセサーが含まれている場合に発生する可能性があります。)またはアーカイブの複数のエントリの名前が同じです。</exception>
  243. <exception cref="T:System.UnauthorizedAccessException">呼び出し元に、目的のディレクトリに書き込みするために必要な許可がありません。</exception>
  244. <exception cref="T:System.NotSupportedException">
  245. <paramref name="destinationDirectoryName" /> に無効な書式指定が格納されています。</exception>
  246. <exception cref="T:System.IO.InvalidDataException">アーカイブ エントリが見つからないか、破損しています。またはアーカイブ エントリはサポートされていない圧縮方法を使用して圧縮されました。</exception>
  247. </member>
  248. <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToFile(System.IO.Compression.ZipArchiveEntry,System.String)">
  249. <summary>zip アーカイブのエントリをファイルに抽出します。</summary>
  250. <param name="source">ファイルの抽出元となる zip アーカイブ エントリ。</param>
  251. <param name="destinationFileName">エントリの内容から作成するファイルのパス。相対パスまたは絶対パスを指定できます。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  252. <exception cref="T:System.ArgumentException">
  253. <paramref name="destinationFileName" /> が、長さが 0 の文字列である、空白しか含んでいない、<see cref="F:System.IO.Path.InvalidPathChars" /> で定義されている無効な文字を 1 つ以上含んでいます。または<paramref name="destinationFileName" /> はディレクトリを指定します。</exception>
  254. <exception cref="T:System.ArgumentNullException">
  255. <paramref name="destinationFileName" /> は null なので、</exception>
  256. <exception cref="T:System.IO.PathTooLongException">指定したパス、ファイル名、またはその両方がシステム定義の最大長を超えています。たとえば、Windows ベースのプラットフォームの場合、パスの長さは 248 文字未満、ファイル名の長さは 260 文字未満である必要があります。</exception>
  257. <exception cref="T:System.IO.DirectoryNotFoundException">指定したパスが無効です (割り当てられていないドライブであるなど)。</exception>
  258. <exception cref="T:System.IO.IOException">
  259. <paramref name="destinationFileName" /> は既に存在します。またはI/O エラーが発生しました。または書き込みのため、エントリが現在開いています。またはエントリがアーカイブから削除されています。</exception>
  260. <exception cref="T:System.UnauthorizedAccessException">新しいファイルを作成するために必要なアクセス許可が呼び出し元にありません。</exception>
  261. <exception cref="T:System.IO.InvalidDataException">エントリがアーカイブにないか、または破損していて読み取ることができません。またはエントリは、サポートされていない圧縮方法を使用して圧縮されています。</exception>
  262. <exception cref="T:System.ObjectDisposedException">このエントリが属する zip アーカイブは破棄されています。</exception>
  263. <exception cref="T:System.NotSupportedException">
  264. <paramref name="destinationFileName" /> の形式が無効です。またはこのエントリの zip アーカイブは、エントリの取得が許可されない <see cref="F:System.IO.Compression.ZipArchiveMode.Create" /> モードで開かれました。</exception>
  265. </member>
  266. <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToFile(System.IO.Compression.ZipArchiveEntry,System.String,System.Boolean)">
  267. <summary>zip アーカイブのエントリをファイルに抽出し、オプションとして同じ名前を持つ既存のファイルを上書きします。</summary>
  268. <param name="source">ファイルの抽出元となる zip アーカイブ エントリ。</param>
  269. <param name="destinationFileName">エントリの内容から作成するファイルのパス。相対パスまたは絶対パスを指定できます。相対パスは、現在の作業ディレクトリに対して相対的に解釈されます。</param>
  270. <param name="overwrite">ターゲットのファイルと同じ名前を持つ既存のファイルを上書きする場合は true。それ以外の場合は false。</param>
  271. <exception cref="T:System.ArgumentException">
  272. <paramref name="destinationFileName" /> が、長さが 0 の文字列である、空白しか含んでいない、<see cref="F:System.IO.Path.InvalidPathChars" /> で定義されている無効な文字を 1 つ以上含んでいます。または<paramref name="destinationFileName" /> はディレクトリを指定します。</exception>
  273. <exception cref="T:System.ArgumentNullException">
  274. <paramref name="destinationFileName" /> は null なので、</exception>
  275. <exception cref="T:System.IO.PathTooLongException">指定したパス、ファイル名、またはその両方がシステム定義の最大長を超えています。たとえば、Windows ベースのプラットフォームの場合、パスの長さは 248 文字未満、ファイル名の長さは 260 文字未満である必要があります。</exception>
  276. <exception cref="T:System.IO.DirectoryNotFoundException">指定したパスが無効です (割り当てられていないドライブであるなど)。</exception>
  277. <exception cref="T:System.IO.IOException">
  278. <paramref name="destinationFileName" /> は既に存在しており、<paramref name="overwrite" /> が false です。またはI/O エラーが発生しました。または書き込みのため、エントリが現在開いています。またはエントリがアーカイブから削除されています。</exception>
  279. <exception cref="T:System.UnauthorizedAccessException">新しいファイルを作成するために必要なアクセス許可が呼び出し元にありません。</exception>
  280. <exception cref="T:System.IO.InvalidDataException">エントリがアーカイブにないか、または破損していて読み取ることができません。またはエントリは、サポートされていない圧縮方法を使用して圧縮されています。</exception>
  281. <exception cref="T:System.ObjectDisposedException">このエントリが属する zip アーカイブは破棄されています。</exception>
  282. <exception cref="T:System.NotSupportedException">
  283. <paramref name="destinationFileName" /> の形式が無効です。またはこのエントリの zip アーカイブは、エントリの取得が許可されない <see cref="F:System.IO.Compression.ZipArchiveMode.Create" /> モードで開かれました。</exception>
  284. </member>
  285. </members>
  286. </doc>