pmMDA.NET

PagedReadOnlyCollection.GetEnumerator Method 

[This is preliminary documentation and subject to change.]

Returns an enumerator for the entire collection.

public IEnumerator GetEnumerator();

Return Value

An IEnumerator for the entire set.

Implements

IEnumerable.GetEnumerator

Remarks

Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying collection.

Initially, the enumerator is positioned before the first element in the collection. Reset also brings the enumerator back to this position. At this position, calling Current throws an exception. Therefore, you must call MoveNext to advance the enumerator to the first element of the collection before reading the value of Current.

See Also

PagedReadOnlyCollection Class | PmMda.Net.Dog.Paging Namespace