OrderedDictionaryTKey, TValueMove Method
Moves the element at the specified fromIndex to the specified toIndex while re-arranging the elements in between.
Namespace: Gemstone.CollectionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public void Move(
int fromIndex,
int toIndex
)
Public Sub Move (
fromIndex As Integer,
toIndex As Integer
)
public:
void Move(
int fromIndex,
int toIndex
)
function Move(fromIndex, toIndex);
Parameters
- fromIndex Int32
- The zero-based index of the element to move.
- toIndex Int32
- The zero-based index to move the element to.
ArgumentOutOfRangeException | fromIndex is less than 0.
-or-
fromIndex is equal to or greater than Count
-or-
toIndex is less than 0.
-or-
toIndex is equal to or greater than Count |