A named expression that can be evaluated at search time and used for ranking or thresholding in a search query.
 Declaration Syntax
 Declaration Syntax| C# | 
public class NamedRankExpression
 Members
 Members| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description | 
|---|---|---|
|  | NamedRankExpression()()()() | Initializes a new instance of the NamedRankExpression class | 
|  | Equals(Object) | (Inherited from Object.) | 
|  | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetType()()()() | Gets the type of the current instance.(Inherited from Object.) | 
|  | RankExpression | 
            The expression to evaluate for ranking or thresholding while processing a search request. The RankExpression syntax is based on
            JavaScript expressions and supports: 
 Constraints: | 
|  | RankName | 
            The name of a rank expression. Rank expression names must begin with a letter and can contain the following characters: a-z (lowercase),
            0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and
            cannot be specified as field or rank expression names.
             
             Constraints: | 
|  | ToString()()()() | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WithRankExpression(String) | Obsolete. 
            Sets the RankExpression property
             | 
|  | WithRankName(String) | Obsolete. 
            Sets the RankName property
             | 
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | |
|  | NamedRankExpression |