ArchiveItemCollection Class
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9313)
Read-only collection of ArchiveItem objects.
Syntax
public abstract class ArchiveItemCollection : IList<ArchiveItem>, ICollection<ArchiveItem>, IList, ICollection, IEnumerable<ArchiveItem>, IEnumerable
Implements
Inherited Members
Constructors
| Name | Description |
|---|---|
| ArchiveItemCollection() | Initializes a new instance of the ArchiveItemCollection class that is a read-only wrapper around a List<T> object. |
| 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. |
| 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. |
| 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. |
Properties
| Name | Description |
|---|---|
| Count | Gets the number of items contained in the collection. |
| IsReadOnly | Gets a value indicating whether the collection is read-only. |
| Items | Gets a List<T> object that the ArchiveItemCollection class wraps. |
Methods
| Name | Description |
|---|---|
| Sort() | Sorts the elements in the entire collection using the default comparer. |
| Sort(IComparer<ArchiveItem>) | 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<ArchiveItem>.Add(ArchiveItem) | Not supported. Throws NotSupportedException. |
| ICollection<ArchiveItem>.Clear() | Not supported. Throws NotSupportedException. |
| ICollection<ArchiveItem>.Contains(ArchiveItem) | Gets a value indicating whether the collection contains the specified item. |
| 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. |
| ICollection<ArchiveItem>.Remove(ArchiveItem) | Not supported. Throws NotSupportedException. |
| IEnumerable<ArchiveItem>.GetEnumerator() | Returns an enumerator that iterates through the collection. |
| IList<ArchiveItem>.IndexOf(ArchiveItem) | Get an index of the |
| IList<ArchiveItem>.Insert(Int32, ArchiveItem) | Not supported. Throws NotSupportedException. |
| IList<ArchiveItem>.Item[Int32] | Gets a ArchiveItem at the specified index. Setter throws the NotSupportedException. |
| IList<ArchiveItem>.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 |
| 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. |