RedisListsLInsert Method (String, Byte, Byte, Boolean) |
在指定位置添加元素
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public int LInsert(
string key,
byte[] value,
byte[] pivot,
bool before
)
Public Function LInsert (
key As String,
value As Byte(),
pivot As Byte(),
before As Boolean
) As Integer
public:
int LInsert(
String^ key,
array<unsigned char>^ value,
array<unsigned char>^ pivot,
bool before
)
member LInsert :
key : string *
value : byte[] *
pivot : byte[] *
before : bool -> int
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