ZipArchive.Entries Property
The collection of entries that are currently in the ZipArchive. This may not accurately represent the actual entries that are present in the underlying file or stream.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Property Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ZipArchiveEntry>Returns ReadOnlyCollection<T>.
| Exception | Condition |
|---|---|
| NotSupportedException | The ZipArchive does not support reading. |
| ObjectDisposedException | The ZipArchive has already been closed. |
| InvalidDataException | The Zip archive is corrupted and the entries cannot be retrieved. |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.