RedisSortedSetsZREVRANK Method (String, String) |
返回有序集 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,
string member
)
Public Function ZREVRANK (
key As String,
member As String
) As Double
public:
double ZREVRANK(
String^ key,
String^ member
)
member ZREVRANK :
key : string *
member : string -> float
Parameters
- key
- Type: SystemString
[Missing <param name="key"/> documentation for "M:Adf.RedisSortedSets.ZREVRANK(System.String,System.String)"]
- member
- Type: SystemString
[Missing <param name="member"/> documentation for "M:Adf.RedisSortedSets.ZREVRANK(System.String,System.String)"]
Return Value
Type:
Double[Missing <returns> documentation for "M:Adf.RedisSortedSets.ZREVRANK(System.String,System.String)"]
See Also