IEnumeration.AsIterator Method

Definition

Returns an Iterator that traverses the remaining elements covered by this enumeration.

[Android.Runtime.Register("asIterator", "()Ljava/util/Iterator;", "GetAsIteratorHandler:Java.Util.IEnumeration, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public virtual Java.Util.IIterator? AsIterator();

Returns

an Iterator representing the remaining elements of this Enumeration

Attributes

Remarks

Returns an Iterator that traverses the remaining elements covered by this enumeration. Traversal is undefined if any methods are called on this enumeration after the call to asIterator.

Added in 9.

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

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

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35, .NET for Android API 36