ImmutableList<T>.Reverse 方法

定義

多載

Reverse()

反轉整個不可變清單中項目的順序。

Reverse(Int32, Int32)

反轉不可變清單之指定範圍中項目的順序。

Reverse()

來源:
ImmutableList_1.cs
來源:
ImmutableList_1.cs
來源:
ImmutableList_1.cs

反轉整個不可變清單中項目的順序。

public:
 System::Collections::Immutable::ImmutableList<T> ^ Reverse();
public System.Collections.Immutable.ImmutableList<T> Reverse ();
member this.Reverse : unit -> System.Collections.Immutable.ImmutableList<'T>
Public Function Reverse () As ImmutableList(Of T)

傳回

反向排列的清單。

適用於

Reverse(Int32, Int32)

來源:
ImmutableList_1.cs
來源:
ImmutableList_1.cs
來源:
ImmutableList_1.cs

反轉不可變清單之指定範圍中項目的順序。

public:
 System::Collections::Immutable::ImmutableList<T> ^ Reverse(int index, int count);
public System.Collections.Immutable.ImmutableList<T> Reverse (int index, int count);
member this.Reverse : int * int -> System.Collections.Immutable.ImmutableList<'T>
Public Function Reverse (index As Integer, count As Integer) As ImmutableList(Of T)

參數

index
Int32

要反向範圍內之以零為起始的起始索引。

count
Int32

要反向範圍中的項目數。

傳回

反向排列的清單。

適用於