 | QdbStringGetAndUpdate Method |
Atomically gets the content and replaces it.
Namespace:
Quasardb
Assembly:
Quasardb (in Quasardb.dll) Version: 3.15.0.0 (3.15.0.0)
Syntaxpublic string GetAndUpdate(
string content,
DateTime? expiryTime = null
)
Public Function GetAndUpdate (
content As String,
Optional expiryTime As DateTime? = Nothing
) As String
Parameters
- content
- Type: SystemString
The new content of the string. - expiryTime (Optional)
- Type: SystemNullableDateTime
The new expiry time of the string.
Return Value
Type:
StringThe previous content of the string.
Exceptions
See Also