GetEnumerator Method

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
BaseCursor..::.GetEnumerator Method
BaseCursor Class See Also Send Feedback

Returns an enumerator that iterates through the cursor.

Namespace: BerkeleyDB
Assembly: libdb_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.0

# Syntax

C#
    public virtual IEnumerator<KeyValuePair<DatabaseEntry, DatabaseEntry>> GetEnumerator()

Visual Basic (Declaration)
    Public Overridable Function GetEnumerator As IEnumerator(Of KeyValuePair(Of DatabaseEntry, DatabaseEntry))

Visual C++
    public:
    virtual IEnumerator<KeyValuePair<DatabaseEntry^, DatabaseEntry^>>^ GetEnumerator()

#### Return Value

An enumerator for the cursor.

#### Implements

IEnumerable<(Of <(T>)>)..::.GetEnumerator()()()

# See Also

BaseCursor Class
BerkeleyDB Namespace