ReadOnlyCollectionBuilder<T>.Reverse 方法

定义

重载

Reverse(Int32, Int32)

将指定范围中元素的顺序反转。Reverses the order of the elements in the specified range.

Reverse()

将整个 ReadOnlyCollectionBuilder<T> 中元素的顺序反转。Reverses the order of the elements in the entire ReadOnlyCollectionBuilder<T>.

Reverse(Int32, Int32)

将指定范围中元素的顺序反转。Reverses the order of the elements in the specified range.

public:
 void Reverse(int index, int count);
public void Reverse (int index, int count);
member this.Reverse : int * int -> unit
Public Sub Reverse (index As Integer, count As Integer)

参数

index
Int32

要反转的范围的从零开始的起始索引。The zero-based starting index of the range to reverse.

count
Int32

要反转的范围内的元素数。The number of elements in the range to reverse.

Reverse()

将整个 ReadOnlyCollectionBuilder<T> 中元素的顺序反转。Reverses the order of the elements in the entire ReadOnlyCollectionBuilder<T>.

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

适用于