RedisCacheClient.ListAddToLeft<T>(string, T) Method

RedisCacheClient.ListAddToLeft<T>(string, T) Method

Insert the specified value at the head of the list stored at key. If key does not exist, it is created as empty list before performing the push operations.

public long ListAddToLeft<T>(string key, T item);

Parameters

key string
The key.
item T
The item.

Type Parameters

T

Returns

long