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

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

Parameters

key
Type: SystemString

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

value
Type: SystemByte

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

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

Return Value

Type: Int32
添加后元素数
See Also