ZipItemCollection Class
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9083)
Read-only collection of ZipItem objects.
Syntax
public class ZipItemCollection : ArchiveItemCollection, IList<ArchiveItem>, ICollection<ArchiveItem>, IEnumerable<ArchiveItem>, IList<ZipItem>, ICollection<ZipItem>, IList, ICollection, IEnumerable<ZipItem>, IEnumerable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
ZipItemCollection() | Initializes a new instance of the ZipItemCollection class. |
ZipItemCollection(ZipItem) | Initializes a new instance of the ZipItemCollection class that contains the specified item. |
ZipItemCollection(Int32) | Initializes a new instance of the ZipItemCollection class that is empty and has the specified initial capacity. |
Properties
Name | Description |
---|---|
Count | Gets the number of items contained in the collection. Inherited from ArchiveItemCollection. |
IsReadOnly | Gets a value indicating whether the collection is read-only. Inherited from ArchiveItemCollection. |
Item[Int32] | Gets the item at the specified index. |
Item[String] | Gets the ZipItem with specified path. |
Items | Gets a List<T> object that the ArchiveItemCollection class wraps. Inherited from ArchiveItemCollection. |
Methods
Name | Description |
---|---|
Contains(ZipItem) | Determines whether the collection contains a specific item. |
CopyTo(ZipItem[], Int32) | Copies the items of the collection to an System.Array, starting at a particular index. |
GetEnumerator() | Returns an enumerator that iterates through the collection. |
IndexOf(ZipItem) | Returns the index of a specific item in the collection. |
Sort() | Sorts the elements in the entire collection using the default comparer. Inherited from ArchiveItemCollection. |
Sort(IComparer<ArchiveItem>) | Sorts the elements in the entire collection using the specified comparer. Inherited from ArchiveItemCollection. |
Sort(IComparer<ZipItem>) | Sorts the elements in the entire collection using the specified comparer. |
Sort(IComparer) | Sorts the elements in the entire collection using the specified comparer. Inherited from ArchiveItemCollection. |