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