AbstractCollection.ToArray AbstractCollection.ToArray Method

Definition

Overloads

ToArray() ToArray()

Returns a new array containing all elements contained in this Collection.

ToArray(Object[]) ToArray(Object[])

ToArray() ToArray()

Returns a new array containing all elements contained in this Collection.

[Android.Runtime.Register("toArray", "()[Ljava/lang/Object;", "GetToArrayHandler")]
public virtual Java.Lang.Object[] ToArray ();
override this.ToArray : unit -> Java.Lang.Object[]

Returns

Object[]

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.

ToArray(Object[]) ToArray(Object[])

[Android.Runtime.Register("toArray", "([Ljava/lang/Object;)[Ljava/lang/Object;", "GetToArray_arrayLjava_lang_Object_Handler")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public virtual Java.Lang.Object[] ToArray (Java.Lang.Object[] a);
override this.ToArray : Java.Lang.Object[] -> Java.Lang.Object[]

Parameters

a
Object[]

Returns

Object[]

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