MemcacheDecrement Method (String, Int64) |
Decrement the value at the specified key by passed in value, and then return it.
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public long Decrement(
string key,
long inc
)
Public Function Decrement (
key As String,
inc As Long
) As Long
public:
long long Decrement(
String^ key,
long long inc
)
member Decrement :
key : string *
inc : int64 -> int64
Parameters
- key
- Type: SystemString
key where the data is stored - inc
- Type: SystemInt64
how much to increment by
Return Value
Type:
Int64-1, if the key is not found, the value after incrementing otherwise
See Also