点击或拖拽改变大小

RedisClientZSetRemove 方法 (String, String)

移除有序集 key 中的一个或多个成员,不存在的成员将被忽略。当 key 存在但不是有序集类型时,返回一个错误。

命名空间:  HslCommunication.Enthernet.Redis
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public OperateResult<int> ZSetRemove(
	string key,
	string[] members
)

参数

key
类型:SystemString
有序集合的关键字
members
类型:SystemString
等待被移除的成员

返回值

类型:OperateResultInt32
被成功移除的成员的数量,不包括被忽略的成员。
参见