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

ZipItemCollection Class

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

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
Inheritance
Object
ArchiveItemCollection
ZipItemCollection
Implements
IList<ArchiveItem>
ICollection<ArchiveItem>
IEnumerable<ArchiveItem>
IList<ZipItem>
ICollection<ZipItem>
IList
ICollection
IEnumerable<ZipItem>
IEnumerable
Inherited Members
ArchiveItemCollection.Count
ArchiveItemCollection.IsReadOnly
ArchiveItemCollection.Items
ArchiveItemCollection.Sort()
ArchiveItemCollection.Sort(IComparer<ArchiveItem>)
ArchiveItemCollection.Sort(IComparer)
ArchiveItemCollection.ICollection<ArchiveItem>.Add(ArchiveItem)
ArchiveItemCollection.ICollection<ArchiveItem>.Clear()
ArchiveItemCollection.ICollection<ArchiveItem>.Contains(ArchiveItem)
ArchiveItemCollection.ICollection<ArchiveItem>.CopyTo(ArchiveItem[], Int32)
ArchiveItemCollection.ICollection<ArchiveItem>.Remove(ArchiveItem)
ArchiveItemCollection.IEnumerable<ArchiveItem>.GetEnumerator()
ArchiveItemCollection.IList<ArchiveItem>.IndexOf(ArchiveItem)
ArchiveItemCollection.IList<ArchiveItem>.Insert(Int32, ArchiveItem)
ArchiveItemCollection.IList<ArchiveItem>.Item[Int32]
ArchiveItemCollection.IList<ArchiveItem>.RemoveAt(Int32)
ArchiveItemCollection.ICollection.CopyTo(Array, Int32)
ArchiveItemCollection.ICollection.IsSynchronized
ArchiveItemCollection.ICollection.SyncRoot
ArchiveItemCollection.IEnumerable.GetEnumerator()
ArchiveItemCollection.IList.Add(Object)
ArchiveItemCollection.IList.Clear()
ArchiveItemCollection.IList.Contains(Object)
ArchiveItemCollection.IList.IndexOf(Object)
ArchiveItemCollection.IList.Insert(Int32, Object)
ArchiveItemCollection.IList.IsFixedSize
ArchiveItemCollection.IList.Item[Int32]
ArchiveItemCollection.IList.Remove(Object)
ArchiveItemCollection.IList.RemoveAt(Int32)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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.

Explicit Interface Implementations

Name Description
ICollection<ArchiveItem>.Add(ArchiveItem)

Not supported. Throws NotSupportedException. Inherited from ArchiveItemCollection.

ICollection<ArchiveItem>.Clear()

Not supported. Throws NotSupportedException. Inherited from ArchiveItemCollection.

ICollection<ArchiveItem>.Contains(ArchiveItem)

Gets a value indicating whether the collection contains the specified item. Inherited from ArchiveItemCollection.

ICollection<ArchiveItem>.CopyTo(ArchiveItem[], Int32)

Copies the range of elements from the collection to a one-dimensional ArchiveItem array, starting at the specified index of the target array. Inherited from ArchiveItemCollection.

ICollection<ArchiveItem>.Remove(ArchiveItem)

Not supported. Throws NotSupportedException. Inherited from ArchiveItemCollection.

ICollection<ZipItem>.Add(ZipItem)

Not supported. Throws NotSupportedException.

ICollection<ZipItem>.Clear()

Not supported. Throws NotSupportedException.

ICollection<ZipItem>.Remove(ZipItem)

Not supported. Throws NotSupportedException.

IEnumerable<ArchiveItem>.GetEnumerator()

Returns an enumerator that iterates through the collection. Inherited from ArchiveItemCollection.

IList<ArchiveItem>.IndexOf(ArchiveItem)

Get an index of the item in the collection. Inherited from ArchiveItemCollection.

IList<ArchiveItem>.Insert(Int32, ArchiveItem)

Not supported. Throws NotSupportedException. Inherited from ArchiveItemCollection.

IList<ArchiveItem>.Item[Int32]

Gets a ArchiveItem at the specified index. Setter throws the NotSupportedException. Inherited from ArchiveItemCollection.

IList<ArchiveItem>.RemoveAt(Int32)

Not supported. Throws NotSupportedException. Inherited from ArchiveItemCollection.

IList<ZipItem>.Insert(Int32, ZipItem)

Not supported. Throws NotSupportedException.

IList<ZipItem>.Item[Int32]

Gets a ZipItem at the specified index. Setter throws the NotSupportedException.

IList<ZipItem>.RemoveAt(Int32)

Not supported. Throws NotSupportedException.

ICollection.CopyTo(Array, Int32)

Copies the range of elements from the collection to a compatible one-dimensional array, starting at the specified index of the target array. Inherited from ArchiveItemCollection.

ICollection.IsSynchronized

Gets a value indicating whether access to the collection is thread safe. Inherited from ArchiveItemCollection.

ICollection.SyncRoot

Gets an object that can be used to synchronize access to the collection. Inherited from ArchiveItemCollection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection. Inherited from ArchiveItemCollection.

IList.Add(Object)

Not supported. Throws NotSupportedException. Inherited from ArchiveItemCollection.

IList.Clear()

Not supported. Throws NotSupportedException. Inherited from ArchiveItemCollection.

IList.Contains(Object)

Gets a value indicating whether the collection contains the specified item. Inherited from ArchiveItemCollection.

IList.IndexOf(Object)

Get an index of the value in the collection. Inherited from ArchiveItemCollection.

IList.Insert(Int32, Object)

Not supported. Throws NotSupportedException. Inherited from ArchiveItemCollection.

IList.IsFixedSize

Returns true. Inherited from ArchiveItemCollection.

IList.Item[Int32]

Gets an item at the specified index. Setter throws the NotSupportedException. Inherited from ArchiveItemCollection.

IList.Remove(Object)

Not supported. Throws NotSupportedException. Inherited from ArchiveItemCollection.

IList.RemoveAt(Int32)

Not supported. Throws NotSupportedException. Inherited from ArchiveItemCollection.

In This Article
  • Constructors
  • Properties
  • Methods
  • Explicit Interface Implementations
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies