Click or drag to resize

OrderedDictionaryTKey, TValueMoveRange Method

Moves the specified number of elements 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.181-beta
Syntax
public void MoveRange(
	int fromIndex,
	int toIndex,
	int count
)
View Source

Parameters

fromIndex  Int32
The zero-based index of the elements to move.
toIndex  Int32
The zero-based index to move the elements to.
count  Int32
The number of elements to move.
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. -or- count is less than 0.
ArgumentExceptionfromIndex + count is greater than Count. -or- toIndex + count is greater than Count.
See Also