Struct UIElementCollection.Enumerator
- Namespace
- nanoFramework.Presentation
- Assembly
- nanoFramework.Graphics.dll
This is a simple UIElementCollection enumerator that is based on the ArrayListEnumeratorSimple that is used for ArrayLists.
The following comment is from the CLR people: For a straightforward enumeration of the entire ArrayList, this is faster, because it's smaller. Benchmarks showed this.
public struct UIElementCollection.Enumerator : IEnumerator, ICloneable
- Implements
- Inherited Members
Properties
Current
Gets the current UIElement.
public UIElement Current { get; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public object Clone()
Returns
MoveNext()
Advances the enumerator to the next element of the collection.
public bool MoveNext()
Returns
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
public void Reset()