ZipItemCollection.Sort Method
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 8.0.9673)
Sort()
Sorts the elements in the entire collection using the default comparer.
Declaration
public void Sort()
Sort(IComparer)
Sorts the elements in the entire collection using the specified comparer.
Declaration
public void Sort(IComparer comparer)
Parameters
| Type | Name | Description |
|---|---|---|
| IComparer | comparer | The IComparer implementation to use when comparing elements, or a null reference to sort alphabetically. |
Sort(IComparer<ZipItem>)
Sorts the elements in the entire collection using the specified comparer.
Declaration
public void Sort(IComparer<ZipItem> comparer)
Parameters
| Type | Name | Description |
|---|---|---|
| IComparer<ZipItem> | comparer | The System.Collections.Generic.IComparer<T> implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer. |