Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ArchiveItemCollection Constructor

Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9147)

ArchiveItemCollection()

Initializes a new instance of the ArchiveItemCollection class that is a read-only wrapper around a List<T> object.

Declaration
protected ArchiveItemCollection()

ArchiveItemCollection(Int32)

Initializes a new instance of the ArchiveItemCollection class that is a read-only wrapper around a List<T> object that is empty and has the specified initial capacity.

Declaration
protected ArchiveItemCollection(int capacity)
Parameters
Type Name Description
Int32 capacity

Initial capacity of the wrapped collection.

ArchiveItemCollection(IEnumerable<ArchiveItem>)

Initializes a new instance of the ArchiveItemCollection class that is a read-only wrapper around a List<T> object that contains items copied from the specified collection.

Declaration
protected ArchiveItemCollection(IEnumerable<ArchiveItem> collection)
Parameters
Type Name Description
IEnumerable<ArchiveItem> collection

The collection whose items are copied to the wrapped collection.

ArchiveItemCollection(ArchiveItem)

Initializes a new instance of the ArchiveItemCollection class that is a read-only wrapper around a List<T> object that contains copy of the specified item.

Declaration
protected ArchiveItemCollection(ArchiveItem item)
Parameters
Type Name Description
ArchiveItem item

An object to insert into the wrapped collection.

In This Article
  • ArchiveItemCollection()
  • ArchiveItemCollection(Int32)
  • ArchiveItemCollection(IEnumerable<ArchiveItem>)
  • ArchiveItemCollection(ArchiveItem)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies