Click or drag to resize

SortableListInsertRange Method

Inserts a collection of objects at a specified index. Should not be used if the list is the KeepSorted property is set to true.

Namespace:  Pathfinding
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public void InsertRange(
	int Index,
	ICollection C
)

Parameters

Index
Type: SystemInt32
The index before which the objects must be added.
C
Type: System.CollectionsICollection
The object to add.
Exceptions
ExceptionCondition
ArgumentExceptionThe SortableList is set to use objects's IComparable interface, and the specifed object does not implement this interface.
ArgumentOutOfRangeExceptionIndex is less than zero or Index is greater than Count.
InvalidOperationExceptionIf the object is added at the specify index, the list will not be sorted any more and the KeepSorted property is set to true.
See Also