RedisListsLRem Method (String, String, Int32) |
移除元素后的一个列表范围
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public int LRem(
string key,
string value,
int count
)
Public Function LRem (
key As String,
value As String,
count As Integer
) As Integer
public:
int LRem(
String^ key,
String^ value,
int count
)
member LRem :
key : string *
value : string *
count : int -> int
Parameters
- key
- Type: SystemString
[Missing <param name="key"/> documentation for "M:Adf.RedisLists.LRem(System.String,System.String,System.Int32)"]
- value
- Type: SystemString
[Missing <param name="value"/> documentation for "M:Adf.RedisLists.LRem(System.String,System.String,System.Int32)"]
- count
- Type: SystemInt32
count < 0: Remove elements equal to value moving from head to tail.
count > 0: Remove elements equal to value moving from tail to head.
count = 0: Remove all elements equal to value.
Return Value
Type:
Int32Integer reply: the number of removed elements.
See Also