UIElementCollection.Enumerator Structure

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Enumerates the UIElement objects that are contained in a particular UIElementCollection object.

Namespace:  Microsoft.SPOT.Presentation
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Structure Enumerator _
    Implements IEnumerator, ICloneable
public struct Enumerator : IEnumerator, 
    ICloneable
public value class Enumerator : IEnumerator, 
    ICloneable
[<Sealed>]
type Enumerator =  
    struct
        interface IEnumerator
        interface ICloneable
    end
JScript supports the use of structures, but not the declaration of new ones.

The UIElementCollection..::..Enumerator type exposes the following members.

Properties

  Name Description
Public property Current Gets the current UI element in the current collection.

Top

Methods

  Name Description
Public method Clone Creates a shallow copy of the current UIElementCollection..::..Enumerator object (enumerator).
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method MoveNext Advances the enumerator to the next element in the current collection.
Public method Reset Resets the enumerator to its initial position, immediately preceding the first element in the collection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IEnumerator. . :: . .Current Gets the current UI element in the current collection.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SPOT.Presentation Namespace