Reactive2DList.GetItem(int, int) method¶
Defined in
Type: Reactive2DListReactiveList.Reactive.Collections
Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
public T GetItem(int outerIndex, int innerIndex)
View source (opens in a new tab)
Summary: Retrieves the element at the specified inner index within the list located at the specified outer index.
Parameters
| Name | Type | Description |
|---|---|---|
outerIndex | int (opens in a new tab) | The zero-based index of the outer list from which to retrieve the inner list. Must be greater than or equal to 0 and less than the total number of outer lists. |
innerIndex | int (opens in a new tab) | The zero-based index of the item within the selected inner list. Must be greater than or equal to 0 and less than the number of items in the inner list. |
Returns: T -- The element of type T located at the specified inner index within the specified outer list.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentOutOfRangeException (opens in a new tab) | Thrown when either outerIndex is less than 0 or greater than or equal to the number of outer lists, or when innerIndex is less than 0 or greater than or equal to the number of items in the inner list. |