Click or drag to resize

MarshalByRefCollectionBaseGetEnumerator Method

Returns a reference to an IEnumerator interface, whose purpose is to grant access to an enumeration's items.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public IEnumerator GetEnumerator()

Return Value

Type: IEnumerator
A reference to an IEnumerator interface.


When GetEnumerator is called, it constructs an enumerator object containing the current version number in the collection and a reference to the collection's items. Every time the enumerator is accessed, it compares the version of the enumerator with the version of the collection. If the versions do not match, it means that the collection has changed; an exception then occurs.
See Also