点击或拖拽改变大小

RedisClientReadSetKeyCard 方法

返回集合 key 的基数(集合中元素的数量)。

命名空间:  HslCommunication.Enthernet.Redis
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:9.2.3.0 (9.2.3.0)
语法
public OperateResult<int> ReadSetKeyCard(
	string key
)

参数

key
类型:SystemString
键名

返回值

类型:OperateResultInt32
集合的基数。当 key 不存在时,返回 0 。
参见