RedisSortedSetsZREVRANK Method (String, Byte) |
返回有序集 key 中成员 member 的排名。其中有序集成员按 score 值递减(从大到小)排序。
排名以 0 为底,也就是说, score 值最大的成员排名为 0 。
使用 ZRANK 命令可以获得成员按 score 值递增(从小到大)排列的排名。
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public double ZREVRANK(
string key,
byte[] member
)
Public Function ZREVRANK (
key As String,
member As Byte()
) As Double
public:
double ZREVRANK(
String^ key,
array<unsigned char>^ member
)
member ZREVRANK :
key : string *
member : byte[] -> float
Parameters
- key
- Type: SystemString
[Missing <param name="key"/> documentation for "M:Adf.RedisSortedSets.ZREVRANK(System.String,System.Byte[])"]
- member
- Type: SystemByte
[Missing <param name="member"/> documentation for "M:Adf.RedisSortedSets.ZREVRANK(System.String,System.Byte[])"]
Return Value
Type:
Double[Missing <returns> documentation for "M:Adf.RedisSortedSets.ZREVRANK(System.String,System.Byte[])"]
See Also