[]
Sorts the elements in the entire StructList<T> using the specified StructComparison<T>.
public void Sort(StructComparison<T> comparison)
Public Sub Sort(comparison As StructComparison(Of T))
| Type | Name | Description |
|---|---|---|
| StructComparison<T> | comparison | The StructComparison<T> to use when comparing elements. |
Sorts the elements in a range of elements in StructList<T> using the specified StructComparison<T>.
public void Sort(int index, int count, StructComparison<T> comparison)
Public Sub Sort(index As Integer, count As Integer, comparison As StructComparison(Of T))
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based starting index of the range to sort. |
| int | count | The length of the range to sort. |
| StructComparison<T> | comparison | The StructComparison<T> to use when comparing elements. |
Sorts the elements in the entire StructList<T> using the specified comparer.
public void Sort(IStructComparer<T> comparer)
Public Sub Sort(comparer As IStructComparer(Of T))
| Type | Name | Description |
|---|---|---|
| IStructComparer<T> | comparer | The IStructComparer<T> implementation to use when comparing elements. |
Sorts the elements in a range of elements in StructList<T> using the specified comparer.
public void Sort(int index, int count, IStructComparer<T> comparer)
Public Sub Sort(index As Integer, count As Integer, comparer As IStructComparer(Of T))
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based starting index of the range to sort. |
| int | count | The length of the range to sort. |
| IStructComparer<T> | comparer | The IStructComparer<T> implementation to use when comparing elements. |