Compartilhar via


Vector.Elements Method

Definition

Returns an enumeration of the components of this vector.

[Android.Runtime.Register("elements", "()Ljava/util/Enumeration;", "GetElementsHandler")]
public virtual Java.Util.IEnumeration Elements ();
[<Android.Runtime.Register("elements", "()Ljava/util/Enumeration;", "GetElementsHandler")>]
abstract member Elements : unit -> Java.Util.IEnumeration
override this.Elements : unit -> Java.Util.IEnumeration

Returns

an enumeration of the components of this vector

Attributes

Remarks

Returns an enumeration of the components of this vector. The returned Enumeration object will generate all items in this vector. The first item generated is the item at index 0, then the item at index 1, and so on. If the vector is structurally modified while enumerating over the elements then the results of enumerating are undefined.

Java documentation for java.util.Vector.elements().

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