Language

JavaArray<T>.ICollection<T>.Add(T) Method

Definition

Always throws NotSupportedException because the Java array cannot grow.

void ICollection<T>.Add(T item);
abstract member System.Collections.Generic.ICollection<T>.Add : 'T -> unit
override this.System.Collections.Generic.ICollection<T>.Add : 'T -> unit

Parameters

item
T

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

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