Class CollectionWrapper.CollectionWrapperEnumerator
Defines the class that serves as enumerator for CollectionWrapper.
Inheritance
System.Object
CollectionWrapper.CollectionWrapperEnumerator
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.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class CollectionWrapperEnumerator : IEnumerator
Constructors
CollectionWrapperEnumerator(CollectionWrapper)
Initializes a new instance of the CollectionWrapper.CollectionWrapperEnumerator class and attaches it to the collection.
Declaration
public CollectionWrapperEnumerator(CollectionWrapper collection)
Parameters
Type | Name | Description |
---|---|---|
CollectionWrapper | collection | The parent collection to enumerate. |
Properties
Current
Gets the value of the current element in the collection.
Declaration
public object Current { get; }
Property Value
Type |
---|
System.Object |
Methods
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean | IfTruethe enumerator was successfully advanced to the next element; OtherwiseFalse and the enumerator has passed the end of the collection. |
Reset()
Resets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public virtual void Reset()
Implements
System.Collections.IEnumerator