Skip to content

)}

Reactive2DList.Add(ReactiveList) method

Defined in

Type: Reactive2DList Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

Overloads

  1. public void Add(ReactiveList<T> item)

  2. public int Add(object? value)

1. Overload

public void Add(ReactiveList<T> item)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from ICollection<ReactiveList<T>>. The member doesn't override them on this type.

Summary: Adds an item to the ICollection (opens in a new tab).

Parameters

NameTypeDescription
itemReactiveListThe object to add to the ICollection (opens in a new tab).

Exceptions

TypeCondition
System.NotSupportedException (opens in a new tab)The ICollection (opens in a new tab) is read-only.

2. Overload

public int Add(object? value)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IList. The member doesn't override them on this type.

Summary: Adds an item to the IList (opens in a new tab).

Parameters

NameTypeDescription
valueobject? (opens in a new tab)The object to add to the IList (opens in a new tab).

Returns: int (opens in a new tab) -- The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.

Exceptions

TypeCondition
System.NotSupportedException (opens in a new tab)The IList (opens in a new tab) is read-only. -or- The IList (opens in a new tab) has a fixed size.