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

ZipItemCollection Class

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

Read-only collection of ZipItem objects.

Syntax
public class ZipItemCollection : IList<ZipItem>, ICollection<ZipItem>, IEnumerable<ZipItem>, IList, ICollection, IEnumerable
Inheritance
Object
ZipItemCollection
Implements
IList<ZipItem>
ICollection<ZipItem>
IEnumerable<ZipItem>
IList
ICollection
IEnumerable
Inherited Members
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.

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 Rebex.IO.Compression.ArchiveItemCollection class wraps.

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.

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.

Explicit Interface Implementations

Name Description
ICollection<ZipItem>.Add(ZipItem)

Not supported. Throws NotSupportedException.

ICollection<ZipItem>.Clear()

Not supported. Throws NotSupportedException.

ICollection<ZipItem>.Remove(ZipItem)

Not supported. Throws NotSupportedException.

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.

ICollection.IsSynchronized

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

ICollection.SyncRoot

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

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection.

IList.Add(Object)

Not supported. Throws NotSupportedException.

IList.Clear()

Not supported. Throws NotSupportedException.

IList.Contains(Object)

Gets a value indicating whether the collection contains the specified item.

IList.IndexOf(Object)

Get an index of the value in the collection.

IList.Insert(Int32, Object)

Not supported. Throws NotSupportedException.

IList.IsFixedSize

Returns true.

IList.Item[Int32]

Gets an item at the specified index. Setter throws the NotSupportedException.

IList.Remove(Object)

Not supported. Throws NotSupportedException.

IList.RemoveAt(Int32)

Not supported. Throws NotSupportedException.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies