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)

Syntax

'Declaration
Public ReadOnly Property Entries As ReadOnlyCollection(Of ZipArchiveEntry)
public ReadOnlyCollection<ZipArchiveEntry> Entries { get; }
public:
property ReadOnlyCollection<ZipArchiveEntry^>^ Entries {
    ReadOnlyCollection<ZipArchiveEntry^>^ get ();
}
member Entries : ReadOnlyCollection<ZipArchiveEntry>
function get Entries () : ReadOnlyCollection<ZipArchiveEntry>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ZipArchiveEntry>
Returns ReadOnlyCollection<T>.

Exceptions

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.

.NET Framework Security

See Also

Reference

ZipArchive Class

Microsoft.TeamFoundation.Framework.Server Namespace