SftpItemCollection.Sort Method
Namespace: Rebex.Net
Assembly: Rebex.Common.dll (version 7.0.9083)
Sort()
Sorts the items in the entire collection alphabetically. Inherited from FileSystemItemCollection.
Declaration
public void Sort()
Sort(IComparer)
Sorts the elements in the entire collection using the specified comparer. Inherited from FileSystemItemCollection.
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(Int32, Int32, IComparer)
Sorts the elements in a section of the collection using the specified comparer. Inherited from FileSystemItemCollection.
Declaration
public void Sort(int index, int count, IComparer comparer)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The zero-based starting index of the range to sort. |
Int32 | count | The length of the range to sort. |
IComparer | comparer | The IComparer implementation to use when comparing elements, or a null reference to sort alphabetically. |