







Replaces the value associated with the given key with another value.
Namespace: MySql.Data.MySqlClient.Memcached
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0
Syntax
C# |
---|
public abstract void Replace( string key, Object data, TimeSpan expiration ) |
Visual Basic |
---|
Public MustOverride Sub Replace ( _ key As String, _ data As Object, _ expiration As TimeSpan _ ) |
Visual C++ |
---|
public: virtual void Replace( String^ key, Object^ data, TimeSpan expiration ) abstract |
Parameters
- key
- Type: System..::..String
The key for identifying the entry.
- data
- Type: System..::..Object
The data to replace the value associated with the key.
- expiration
- Type: System..::..TimeSpan
The interval of timespan, use TimeSpan.Zero for no expiration.