Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ReadOnlyMetadataCollection(T).Enumerator Structure

ReadOnlyMetadataCollection<T>.Enumerator Structure

Supports a simple iteration over the ReadOnlyMetadataCollection<T> collection.

Namespace:  System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public struct Enumerator : IEnumerator<T>, 
	IDisposable, IEnumerator

The ReadOnlyMetadataCollection<T>.Enumerator generic type exposes the following members.

Public propertyCurrentGets the member at the current position.

Public methodDisposeDisposes of this enumerator.
Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodMoveNextMoves to the next member in the collection of type ReadOnlyMetadataCollection<T>.Enumerator.
Public methodResetPositions the enumerator before the first position in the collection of type ReadOnlyMetadataCollection<T>.
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)

Explicit interface implemetationPrivate propertyIEnumerator.CurrentGets the member at the current position.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft