IEnumerableContract<C>.GetEnumeratorContract Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns an enumerator that iterates through the collection.

Namespace:   System.AddIn.Contract.Collections
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

IEnumeratorContract<C> GetEnumeratorContract()

Return Value

Type: System.AddIn.Contract.Collections.IEnumeratorContract<C>

An IEnumeratorContract<C> that can be used to iterate through the collection.

Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.

.NET Framework
Available since 3.5
Return to top