Class CaptionRowCollectionEnumerator
Defines the class for CaptionRow elements of a CaptionRowCollection.
Inheritance
System.Object
CaptionRowCollectionEnumerator
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 CaptionRowCollectionEnumerator : IEnumerator
Constructors
CaptionRowCollectionEnumerator(CaptionRowCollection)
Initializes the new instances of the CaptionRowCollectionEnumerator class and attaches it to the collection.
Declaration
public CaptionRowCollectionEnumerator(CaptionRowCollection collection)
Parameters
Type | Name | Description |
---|---|---|
CaptionRowCollection | collection | The parent collection to enumerate. |
Properties
Current
Gets the current element in the collection.
Declaration
public CaptionRow Current { get; }
Property Value
Type |
---|
CaptionRow |
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;Otherwise False and 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 |
Implements
System.Collections.IEnumerator