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