RankRule constructor (ReorderingRuleMatchType, String, Int32)
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub New ( _
matchType As ReorderingRuleMatchType, _
customMatchValue As String, _
customBoost As Integer _
)
'Usage
Dim matchType As ReorderingRuleMatchType
Dim customMatchValue As String
Dim customBoost As Integer
Dim instance As New RankRule(matchType, _
customMatchValue, customBoost)
public RankRule(
ReorderingRuleMatchType matchType,
string customMatchValue,
int customBoost
)
Parameters
- matchType
Type: Microsoft.Office.Server.Search.Query.ReorderingRuleMatchType
- customMatchValue
Type: System.String
- customBoost
Type: System.Int32