Language

JavaArray<T>.IList.Add(Object) Method

Definition

Always throws NotSupportedException because the Java array cannot grow.

int IList.Add(object? value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int

Parameters

value
Object

The value that would be added. It is not used.

Returns

No index is returned because this method always throws NotSupportedException.

Implements

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to