Class GridNonImmutableRangeInfoCollection.GridNonImmutableRangeInfoEnumerator
Implements a strongly typed enumerator for GridNonImmutableRangeInfoCollection.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridNonImmutableRangeInfoEnumerator : IEnumerator
Constructors
GridNonImmutableRangeInfoEnumerator(GridNonImmutableRangeInfoCollection)
Initializes the new instance of the GridNonImmutableRangeInfoCollection.GridNonImmutableRangeInfoEnumerator class.
Declaration
public GridNonImmutableRangeInfoEnumerator(GridNonImmutableRangeInfoCollection covMappings)
Parameters
Type | Name | Description |
---|---|---|
GridNonImmutableRangeInfoCollection | covMappings | A list of GridNonImmutableRangeInfo objects. |
Properties
Current
Gets the current element from the collection (strongly typed)
Declaration
public GridNonImmutableRangeInfo Current { get; }
Property Value
Type |
---|
GridNonImmutableRangeInfo |
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 next element exists. |
Reset()
Sets the enumerator to the first element in the collection
Declaration
public void Reset()
Explicit Interface Implementations
IEnumerator.Current
Gets the current element from the collection
Declaration
object IEnumerator.Current { get; }
Returns
Type |
---|
System.Object |
IEnumerator.MoveNext()
Determines whether the enumerator moves to the next element of the collection
Declaration
bool IEnumerator.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. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The collection was modified after the enumerator was created. |
IEnumerator.Reset()
Sets the enumerator to the first element in the collection
Declaration
void IEnumerator.Reset()