SqlDataReader.IEnumerable.GetEnumerator Method

Definition

Returns an enumerator that can be used to iterate through the item collection.

C#
System.Collections.IEnumerator IEnumerable.GetEnumerator();

Returns

The enumerator that can be used to iterate through the item collection.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the SqlDataReader instance is cast to an IEnumerable interface.

Applies to

Product Versions
.NET Framework 1.1