Click or drag to resize

SortableListAdd Method

IList implementation. If the KeepSorted property is set to true, the object will be added at the right place. Else it will be added at the end of the list.

Namespace:  Pathfinding
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public int Add(
	Object O
)

Parameters

O
Type: SystemObject
The object to add.

Return Value

Type: Int32
The index where the object has been added.

Implements

IListAdd(Object)
Exceptions
ExceptionCondition
ArgumentExceptionThe SortableList is set to use object's IComparable interface, and the specifed object does not implement this interface.
See Also