IList.ToArray IList.ToArray Method

Definition

Overloads

ToArray() ToArray()

Returns an array containing all elements contained in this List.

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

ToArray() ToArray()

Returns an array containing all elements contained in this List.

[Android.Runtime.Register("toArray", "()[Ljava/lang/Object;", "GetToArrayHandler:Java.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object[] ToArray ();
abstract member 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.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public Java.Lang.Object[] ToArray (Java.Lang.Object[] a);
abstract member 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