Reactive2DList.Add(ReactiveList) method¶
Defined in
Type: Reactive2DListReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Overloads¶
public void Add(ReactiveList<T> item)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
| Name | Type | Description |
|---|---|---|
item | ReactiveList | The object to add to the ICollection (opens in a new tab). |
Exceptions
| Type | Condition |
|---|---|
| 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
| Name | Type | Description |
|---|---|---|
value | object? (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
| Type | Condition |
|---|---|
| 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. |