Get Method

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Get the key/value pair associated with a given key.

Namespace: MySql.Data.MySqlClient.Memcached
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0

Syntax

C#
public abstract KeyValuePair<string, Object> Get(
	string key
)
Visual Basic
Public MustOverride Function Get ( _
	key As String _
) As KeyValuePair(Of String, Object)
Visual C++
public:
virtual KeyValuePair<String^, Object^> Get(
	String^ key
) abstract

Parameters

key
Type: System..::..String
The key for which to returm the key/value.

Return Value

The key/value associated with the key or a MemcachedException if it does not exists.

See Also