ResultSetEnumerator Class

An enumerator that can be used to iterate through a collection of records in a ResultSet object. The ResultSetEnumerator is not designed to be used directly from within your code. You will get more functionality by working directly with the SqlCeResultSet object.

Inheritance Hierarchy

System.Object
  System.Data.SqlServerCe.ResultSetEnumerator

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public NotInheritable Class ResultSetEnumerator _
    Implements IEnumerator
'Usage
Dim instance As ResultSetEnumerator
public sealed class ResultSetEnumerator : IEnumerator
public ref class ResultSetEnumerator sealed : IEnumerator
[<SealedAttribute>]
type ResultSetEnumerator =  
    class
        interface IEnumerator
    end
public final class ResultSetEnumerator implements IEnumerator

The ResultSetEnumerator type exposes the following members.

Constructors

  Name Description
Public method ResultSetEnumerator Initializes a new instance of the ResultSetEnumerator class.

Top

Properties

  Name Description
Public property Current The current record in the SqlCeResultSet.

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method MoveNext Moves to the next record in the SqlCeResultSet.
Public method Reset Positions the cursor before the first record in the SqlCeResultSet.
Public method ToString (inherited from Object)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IEnumerator.Current

Top

Thread Safety

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

See Also

Reference

System.Data.SqlServerCe Namespace