CouchbaseBucket.IncrementAsync Method (String)Couchbase .NET SDK 2.3.3
Increments the value of a key by one as an asynchronous operation. If the key doesn't exist, it will be created. and seeded with 1.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
public Task<IOperationResult<ulong>> IncrementAsync(
	string key
)

Parameters

key
Type: System.String

Return Value

Type: Task<IOperationResult<UInt64>>
The Task<TResult> object representing the asynchronous operation.

Return Value

Type: Task<IOperationResult<UInt64>>

Implements

IBucket.IncrementAsync(String)
See Also