Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


ModelItemCollection.Move(Int32, Int32) Method

Definition

Moves an item in the collection to a different index.

C#
public abstract void Move(int fromIndex, int toIndex);

Parameters

fromIndex
Int32

The index of the item to be moved before the move.

toIndex
Int32

The index of the item after it is moved.

Exceptions

Either fromIndex or toIndex is negative or greater than or equal to Count.

Applies to

Termék Verziók
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1