点击或拖拽改变大小

RedisClientSetInter 方法 (String, String)

返回一个集合的全部成员,该集合是所有给定集合的交集。不存在的 key 被视为空集。当给定集合当中有一个空集时,结果也为空集(根据集合运算定律)。

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

参数

key
类型:SystemString
集合关键字
interKey
类型:SystemString
运算的集合

返回值

类型:OperateResultString
交集成员的列表。
参见