RedisSetsSRANDMEMBER Method (String, Int32) |
随机返回指定数量元素
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public string[] SRANDMEMBER(
string key,
int count
)
Public Function SRANDMEMBER (
key As String,
count As Integer
) As String()
public:
array<String^>^ SRANDMEMBER(
String^ key,
int count
)
member SRANDMEMBER :
key : string *
count : int -> string[]
Parameters
- key
- Type: SystemString
[Missing <param name="key"/> documentation for "M:Adf.RedisSets.SRANDMEMBER(System.String,System.Int32)"]
- count
- Type: SystemInt32
[Missing <param name="count"/> documentation for "M:Adf.RedisSets.SRANDMEMBER(System.String,System.Int32)"]
Return Value
Type:
String[Missing <returns> documentation for "M:Adf.RedisSets.SRANDMEMBER(System.String,System.Int32)"]
See Also