MySQL Connector/Net
ClientReplace Method |
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.9.9

public abstract void Replace( string key, Object data, TimeSpan expiration )
Public MustOverride Sub Replace ( key As String, data As Object, expiration As TimeSpan )
public: virtual void Replace( String^ key, Object^ data, TimeSpan expiration ) abstract
abstract Replace : key : string * data : Object * expiration : TimeSpan -> unit
Parameters
- key
- Type: SystemString
The key for identifying the entry. - data
- Type: SystemObject
The data to replace the value associated with the key. - expiration
- Type: SystemTimeSpan
The interval of timespan, use TimeSpan.Zero for no expiration.
