Share via


Vector.CopyInto(Object[]) Method

Definition

Copies the components of this vector into the specified array.

[Android.Runtime.Register("copyInto", "([Ljava/lang/Object;)V", "GetCopyInto_arrayLjava_lang_Object_Handler")]
public virtual void CopyInto (Java.Lang.Object[] anArray);
[<Android.Runtime.Register("copyInto", "([Ljava/lang/Object;)V", "GetCopyInto_arrayLjava_lang_Object_Handler")>]
abstract member CopyInto : Java.Lang.Object[] -> unit
override this.CopyInto : Java.Lang.Object[] -> unit

Parameters

anArray
Object[]

the array into which the components get copied

Attributes

Exceptions

if elements is not big enough.

Remarks

Copies the components of this vector into the specified array. The item at index k in this vector is copied into component k of anArray.

Java documentation for java.util.Vector.copyInto(java.lang.Object[]).

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

See also