Bearbeiten

Freigeben über


ImmutableList<T>.Reverse Method

Definition

Overloads

Reverse()

Reverses the order of the elements in the entire immutable list.

Reverse(Int32, Int32)

Reverses the order of the elements in the specified range of the immutable list.

Reverse()

Source:
ImmutableList_1.cs
Source:
ImmutableList_1.cs
Source:
ImmutableList_1.cs
Source:
ImmutableList_1.cs

Reverses the order of the elements in the entire immutable list.

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)

Returns

The reversed list.

Applies to

Reverse(Int32, Int32)

Source:
ImmutableList_1.cs
Source:
ImmutableList_1.cs
Source:
ImmutableList_1.cs
Source:
ImmutableList_1.cs

Reverses the order of the elements in the specified range of the immutable list.

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)

Parameters

index
Int32

The zero-based starting index of the range to reverse.

count
Int32

The number of elements in the range to reverse.

Returns

The reversed list.

Applies to