MoveNext Method
When overridden in a derived class, the MoveNext method of the SqlCollectionBase class moves to the next item in the collection represented by the collection class instance that inherits from the SqlCollectionBase class.
Return Value
true if the MoveNext method succeeds; otherwise, false.
Remarks
The MoveNext method attempts to move to the next record in the SqlDataReader instance used to populate the collection. If successful, the method returns true; otherwise, it closes the SqlDataReader and returns false.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security