Click or drag to resize

ObservableListAdapterTAdd Method

Adds an item to the IList.

Namespace: TomsToolbox.ObservableCollections
Assembly: TomsToolbox.ObservableCollections (in TomsToolbox.ObservableCollections.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public int Add(
	Object? value
)

Parameters

value  Object
The object to add to the IList.

Return Value

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