Share via


ZipArchiveMode Enumeration

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Enumeration ZipArchiveMode
public enum ZipArchiveMode
public enum class ZipArchiveMode
type ZipArchiveMode
public enum ZipArchiveMode

Members

Member name Description
Read Only reading entries from the archive is permitted. If the underlying file or stream is seekable, then files will be read from the archive on-demand as they are requested. If the underlying file or stream is not seekable, the complete archive will be held in memory. Requires that the underlying file or stream is readable.
Create Only supports creating new archives. Only writing to newly created entries in the archive is permitted. Each entry in the archive can only be opened for writing one time. If only one entry is written to at a time, data will be written to the underlying stream or file as soon as it is available. The underlying stream must be writeable, but does not have to be seekable.
Update Reading and writing from entries in the archive is permitted. Requires that the contents of the complete archive be held in memory. The underlying file or stream must be readable, writeable and seekable. No data will be written to the underlying file or stream until the archive is disposed.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace