Click or drag to resize

ObservableListAdapterTAdd Method

Adds an item to the IList.

Namespace:  TomsToolbox.ObservableCollections
Assembly:  TomsToolbox.ObservableCollections (in TomsToolbox.ObservableCollections.dll)
Syntax
public int Add(
	Object? value
)

Parameters

value
Type: SystemObject
The object to add to the IList.

Return Value

Type: Int32
The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection,

Implements

IListAdd(Object)
Exceptions
ExceptionCondition
NotSupportedExceptionThe IList is read-only.-or- The IList has a fixed size.
See Also