ImmutableArray<T>.Builder.Sort Methode

Definition

Überlädt

Name Beschreibung
Sort()

Sortiert den Inhalt des Arrays.

Sort(IComparer<T>)

Sortiert den Inhalt des Arrays.

Sort(Comparison<T>)

Sortiert die Elemente im gesamten Array mithilfe des angegebenen Comparison<T>.

Sort(Int32, Int32, IComparer<T>)

Sortiert den Inhalt des Arrays.

Sort()

Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs

Sortiert den Inhalt des Arrays.

public:
 void Sort();
public void Sort();
member this.Sort : unit -> unit
Public Sub Sort ()

Gilt für:

Sort(IComparer<T>)

Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs

Sortiert den Inhalt des Arrays.

public:
 void Sort(System::Collections::Generic::IComparer<T> ^ comparer);
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))

Parameter

comparer
IComparer<T>

Der vergleicher, der für die Sortierung verwendet werden soll. Wenn vergleicht null, wird der Standardvergleich für den Elementtyp im Array verwendet.

Gilt für:

Sort(Comparison<T>)

Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs

Sortiert die Elemente im gesamten Array mithilfe des angegebenen Comparison<T>.

public:
 void Sort(Comparison<T> ^ comparison);
public void Sort(Comparison<T> comparison);
member this.Sort : Comparison<'T> -> unit
Public Sub Sort (comparison As Comparison(Of T))

Parameter

comparison
Comparison<T>

Die Comparison<T> beim Vergleichen von Elementen zu verwendende Verwendung.

Ausnahmen

comparison ist NULL.

Gilt für:

Sort(Int32, Int32, IComparer<T>)

Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs
Quelle:
ImmutableArray_1.Builder.cs

Sortiert den Inhalt des Arrays.

public:
 void Sort(int index, int count, System::Collections::Generic::IComparer<T> ^ comparer);
public void Sort(int index, int count, System.Collections.Generic.IComparer<T> comparer);
public void Sort(int index, int count, System.Collections.Generic.IComparer<T>? comparer);
member this.Sort : int * int * System.Collections.Generic.IComparer<'T> -> unit
Public Sub Sort (index As Integer, count As Integer, comparer As IComparer(Of T))

Parameter

index
Int32

Der Startindex für die Sortierung.

count
Int32

Die Anzahl der Elemente, die in die Sortierung einbezogen werden sollen.

comparer
IComparer<T>

Der vergleicher, der für die Sortierung verwendet werden soll. Wenn vergleicht null, wird der Standardvergleich für den Elementtyp im Array verwendet.

Gilt für: