Class SourceListSetEnumerator
Implements the enumerator class for SourceListSetEntry elements of a SourceListSet.
Inheritance
System.Object
SourceListSetEnumerator
Implements
System.Collections.IEnumerator
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class SourceListSetEnumerator : Object, IEnumerator
Constructors
SourceListSetEnumerator(SourceListSet)
Initializes an enumerator for a SourceListSet.
Declaration
public SourceListSetEnumerator(SourceListSet collection)
Parameters
| Type | Name | Description |
|---|---|---|
| SourceListSet | collection | The SourceListSet to enumerate. |
Properties
Current
Gets the current element in the collection.
Declaration
public SourceListSetEntry Current { get; }
Property Value
| Type |
|---|
| SourceListSetEntry |
Methods
MoveNext()
Determines whether the enumerator moves 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 virtual void Reset()
Implements
System.Collections.IEnumerator