Put Method

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++ Members: Show All Members: Filtered Members: Filtered Members: Filtered

C#
Visual Basic
Visual C++
Include Protected Members
Include Inherited Members

Berkeley DB .NET API Documentation
HeapDatabase..::.Put Method
HeapDatabase Class See Also Send Feedback

If the database supports duplicates, add the new data value at the end of the duplicate set. If the database supports sorted duplicates, the new data value is inserted at the correct sorted location.

# Overload List

| Name | Description
--- | --- | ---
| Put(MultipleKeyDatabaseEntry) | Store multiple data items using keys from the buffer to which the key parameter refers and data values from the buffer to which the data parameter refers. A successful bulk operation is logically equivalent to a loop through each key/data pair, performing a Put for each one. (Inherited from Database.)
| Put(DatabaseEntry, DatabaseEntry) | Store the key/data pair in the database, replacing any previously existing key if duplicates are disallowed, or adding a duplicate data item if duplicates are allowed. (Inherited from Database.)
| Put(MultipleKeyDatabaseEntry, Transaction) | Store multiple data items using keys from the buffer to which the key parameter refers and data values from the buffer to which the data parameter refers. A successful bulk operation is logically equivalent to a loop through each key/data pair, performing a Put for each one. (Inherited from Database.)
| Put(DatabaseEntry, DatabaseEntry, Transaction) | Store the key/data pair in the database, replacing any previously existing key if duplicates are disallowed, or adding a duplicate data item if duplicates are allowed. (Inherited from Database.)

# See Also

HeapDatabase Class
HeapDatabase Members
BerkeleyDB Namespace