Share via


IEnumeration.NextElement Method

Definition

Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

[Android.Runtime.Register("nextElement", "()Ljava/lang/Object;", "GetNextElementHandler:Java.Util.IEnumerationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? NextElement ();
[<Android.Runtime.Register("nextElement", "()Ljava/lang/Object;", "GetNextElementHandler:Java.Util.IEnumerationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member NextElement : unit -> Java.Lang.Object

Returns

the next element of this enumeration.

Attributes

Exceptions

if there are no more elements.

Remarks

Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Java documentation for java.util.Enumeration.nextElement().

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