Click or drag to resize
RedisListsLInsert Method (String, String, String, Boolean)
在指定位置添加元素

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public int LInsert(
	string key,
	string value,
	string pivot,
	bool before
)

Parameters

key
Type: SystemString

[Missing <param name="key"/> documentation for "M:Adf.RedisLists.LInsert(System.String,System.String,System.String,System.Boolean)"]

value
Type: SystemString

[Missing <param name="value"/> documentation for "M:Adf.RedisLists.LInsert(System.String,System.String,System.String,System.Boolean)"]

pivot
Type: SystemString
位置元素
before
Type: SystemBoolean
是否在前,true before,false after

Return Value

Type: Int32
添加后元素数
See Also