IBucketInsertAsyncT Method |
Inserts or replaces an existing document into Couchbase Server.
Namespace: Couchbase.CoreAssembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
SyntaxTask<IOperationResult<T>> InsertAsync<T>(
string key,
T value
)
Function InsertAsync(Of T) (
key As String,
value As T
) As Task(Of IOperationResult(Of T))
generic<typename T>
Task<IOperationResult<T>^>^ InsertAsync(
String^ key,
T value
)
abstract InsertAsync :
key : string *
value : 'T -> Task<IOperationResult<'T>>
Parameters
- key
- Type: SystemString
- value
- Type: T
Type Parameters
- T
Return Value
Type:
TaskIOperationResultTA Task that can be awaited on for it's
IOperationResultT value.
See Also