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
RecnoCursor..::.Insert Method
RecnoCursor Class See Also

Insert the data element as a duplicate element of the key to which the cursor refers.

Namespace: BerkeleyDB
Assembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

# Syntax

C#
    public void Insert(
    	DatabaseEntry data,
    	Cursor..::.InsertLocation loc
    )

Visual Basic (Declaration)
    Public Sub Insert ( _
    	data As DatabaseEntry, _
    	loc As Cursor..::.InsertLocation _
    )

Visual C++
    public:
    void Insert(
    	DatabaseEntry^ data,
    	Cursor..::.InsertLocation loc
    )

#### Parameters

data
  Type: BerkeleyDB..::.DatabaseEntry
  The data element to insert

loc
  Type: BerkeleyDB..::.Cursor..::.InsertLocation
  Specify whether to insert the data item immediately before or immediately after the cursor's current position.

# See Also

RecnoCursor Class
BerkeleyDB Namespace