Create a transactionally protected database cursor with the given configuration.

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

Syntax

C#
public BTreeCursor Cursor(
	CursorConfig cfg,
	Transaction txn
)
Visual Basic (Declaration)
Public Function Cursor ( _
	cfg As CursorConfig, _
	txn As Transaction _
) As BTreeCursor
Visual C++
public:
BTreeCursor^ Cursor(
	CursorConfig^ cfg, 
	Transaction^ txn
)

Parameters

cfg
Type: BerkeleyDB..::.CursorConfig
The configuration properties for the cursor.
txn
Type: BerkeleyDB..::.Transaction
The transaction context in which the cursor may be used.

Return Value

A newly created cursor

See Also