Click or drag to resize

OrderedDictionaryTKey, TValueMove Method

Moves the element at the specified fromIndex to the specified toIndex while re-arranging the elements in between.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntax
public void Move(
	int fromIndex,
	int toIndex
)
View Source

Parameters

fromIndex  Int32
The zero-based index of the element to move.
toIndex  Int32
The zero-based index to move the element to.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionfromIndex 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
See Also