The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ZipFileExtensions::CreateEntryFromFile Method
.NET Framework (current version)
Archives a file by compressing it and adding it to the zip archive.
Assembly: System.IO.Compression.FileSystem (in System.IO.Compression.FileSystem.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | CreateEntryFromFile(ZipArchive^, String^, String^) | Archives a file by compressing it and adding it to the zip archive. |
![]() ![]() | CreateEntryFromFile(ZipArchive^, String^, String^, CompressionLevel) | Archives a file by compressing it using the specified compression level and adding it to the zip archive. |
Show:

