Class FlattenedRecordsInGroupCollectionEnumerator
Enumerator class for Record elements of a FlattenedRecordsInGroupCollectionBase.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class FlattenedRecordsInGroupCollectionEnumerator : IEnumerator
Constructors
FlattenedRecordsInGroupCollectionEnumerator(FlattenedRecordsInGroupCollectionBase)
Initializes the new instance of FlattenedRecordsInGroupCollectionEnumerator
Declaration
public FlattenedRecordsInGroupCollectionEnumerator(FlattenedRecordsInGroupCollectionBase collection)
Parameters
Type | Name | Description |
---|---|---|
FlattenedRecordsInGroupCollectionBase | collection | The parent collection to enumerate. |
Remarks
The method ensures that the collection is in sync with the underlying group if changes have been made to the group or the TableDescriptor.
The method calls EnsureInitialized(Object, Boolean).
Properties
Current
Gets the current element in the collection.
Declaration
public Record Current { get; }
Property Value
Type |
---|
Record |
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 virtual void Reset()
Explicit Interface Implementations
IEnumerator.Current
Gets the current element in the collection.
Declaration
object IEnumerator.Current { get; }
Returns
Type |
---|
System.Object |