RedisClientSetRemoveAsync 方法 (String, String) |
移除集合 key 中的一个元素,不存在的 member 元素会被忽略。
命名空间:
HslCommunication.Enthernet.Redis
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<int>> SetRemoveAsync(
string key,
string member
)
Public Function SetRemoveAsync (
key As String,
member As String
) As Task(Of OperateResult(Of Integer))
public:
Task<OperateResult<int>^>^ SetRemoveAsync(
String^ key,
String^ member
)
member SetRemoveAsync :
key : string *
member : string -> Task<OperateResult<int>>
参数
- key
- 类型:SystemString
集合关键字 - member
- 类型:SystemString
等待移除的元素
返回值
类型:
TaskOperateResultInt32被成功移除的元素的数量,不包括被忽略的元素。
参见