Adds a new item to the cache
Namespace: BrightstarDB.CachingAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
void Insert(
string key,
byte[] data,
CachePriority cachePriority
) |
Visual Basic |
---|
Sub Insert (
key As String,
data As Byte(),
cachePriority As CachePriority
) |
Visual C++ |
---|
void Insert(
String^ key,
array<unsigned char>^ data,
CachePriority cachePriority
) |
F# |
---|
abstract Insert :
key : string *
data : byte[] *
cachePriority : CachePriority -> unit
|
Parameters
- key
- Type: System..::..String
The cache key for the item
- data
- Type: array<System..::..Byte>[]()[][]
The data to be stored as a byte array
- cachePriority
- Type: BrightstarDB.Caching..::..CachePriority
The priority of the item in the cache
See Also