RiakDtCounterIncrement Method |
Increment the counter.
Namespace:
RiakClient.Models.RiakDt
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax public RiakDtCounter Increment(
long value = 1
)
member Increment :
?value : int64
(* Defaults:
let _value = defaultArg value 1
*)
-> RiakDtCounter
Parameters
- value (Optional)
- Type: SystemInt64
The amount (positive or negative) to increment the counter.
Return Value
Type:
RiakDtCounterThe updated
RiakDtCounter.
Remarks To decrement the counter, use a negative number for value.
See Also