Class GroupEnumerator
Inheritance
Implements
Namespace: Syncfusion.Data
Assembly: Syncfusion.Data.Portable.dll
Syntax
public class GroupEnumerator : Object, IEnumerator<NodeEntry>, IEnumerator, IDisposable
Constructors
GroupEnumerator(Group)
Initializes a new instance of the GroupEnumerator class.
Declaration
public GroupEnumerator(Group group)
Parameters
Type | Name | Description |
---|---|---|
Group | group | The group. |
Properties
Current
Gets the element in the collection at the current position of the enumerator.
Declaration
public NodeEntry Current { get; }
Property Value
Type |
---|
NodeEntry |
Group
Gets or sets the group.
Declaration
public Group Group { get; }
Property Value
Type | Description |
---|---|
Group | The group. |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(Boolean)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
protected virtual void Dispose(bool isDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isDisposing | Indicates whether the call is from Dispose method or from a finalizer. |
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. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The collection was modified after the enumerator was created. |
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public void Reset()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The collection was modified after the enumerator was created. |