IEnumeration.AsIterator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ();
[<Android.Runtime.Register("asIterator", "()Ljava/util/Iterator;", "GetAsIteratorHandler:Java.Util.IEnumeration, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member AsIterator : unit -> Java.Util.IIterator
override this.AsIterator : unit -> Java.Util.IIterator
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.