MemcacheReplace Method (String, Object, DateTime) |
Updates data on the server; the key, value, and an expiration time are specified.
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public bool Replace(
string key,
Object value,
DateTime expiry
)
Public Function Replace (
key As String,
value As Object,
expiry As DateTime
) As Boolean
public:
bool Replace(
String^ key,
Object^ value,
DateTime expiry
)
member Replace :
key : string *
value : Object *
expiry : DateTime -> bool
Parameters
- key
- Type: SystemString
key to store data under - value
- Type: SystemObject
value to store - expiry
- Type: SystemDateTime
when to expire the record
Return Value
Type:
Booleantrue, if the data was successfully stored
See Also