Class IEnumWrapper
Supports a simple iteration over a nongeneric collection.
Inheritance
System.Object
IEnumWrapper
Implements
System.Collections.IEnumerator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public sealed class IEnumWrapper : IEnumerator
Constructors
IEnumWrapper(Object)
Constructor of the IEnumWrapper.
Declaration
public IEnumWrapper(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Properties
Current
Gets the current element in the collection. IEnumerator implementation
Declaration
public object Current { get; }
Property Value
Type | Description |
---|---|
System.Object | The current element in the collection. |
Methods
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean | true if the enumerator was successfully advanced to the next element; false. if the enumerator has passed the end of the collection. |
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public void Reset()
Implements
System.Collections.IEnumerator