ArrayBuilder<T>.Sort Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Sort() | |
Sort(IComparer<T>) | |
Sort(Comparison<T>) | |
Sort(Int32, IComparer<T>) |
Sort()
public:
void Sort();
public void Sort ();
member this.Sort : unit -> unit
Public Sub Sort ()
Applies to
Sort(IComparer<T>)
public:
void Sort(System::Collections::Generic::IComparer<T> ^ comparer);
public void Sort (System.Collections.Generic.IComparer<T> comparer);
member this.Sort : System.Collections.Generic.IComparer<'T> -> unit
Public Sub Sort (comparer As IComparer(Of T))
Parameters
- comparer
- IComparer<T>
Applies to
Sort(Comparison<T>)
public:
void Sort(Comparison<T> ^ compare);
public void Sort (Comparison<T> compare);
member this.Sort : Comparison<'T> -> unit
Public Sub Sort (compare As Comparison(Of T))
Parameters
- compare
- Comparison<T>
Applies to
Sort(Int32, IComparer<T>)
public:
void Sort(int startIndex, System::Collections::Generic::IComparer<T> ^ comparer);
public void Sort (int startIndex, System.Collections.Generic.IComparer<T> comparer);
member this.Sort : int * System.Collections.Generic.IComparer<'T> -> unit
Public Sub Sort (startIndex As Integer, comparer As IComparer(Of T))
Parameters
- startIndex
- Int32
- comparer
- IComparer<T>