Object.ToArray<T> Method

Definition

Creates a managed array from this Java array wrapper.

public T[]? ToArray<T>();
member this.ToArray : unit -> 'T[]

Type Parameters

T

The managed element or peer type used by this operation.

Returns

T[]

A managed array containing the Java array elements.

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