RefinementManager.AddDataToRefinement Method (String, String, String, Int64)
Adds a property value to the refinement data for calculating the refinement filters.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub AddDataToRefinement ( _
ColName As String, _
FilterToken As String, _
FilterDisplayValue As String, _
FilterCount As Long _
)
'Usage
Dim instance As RefinementManager
Dim ColName As String
Dim FilterToken As String
Dim FilterDisplayValue As String
Dim FilterCount As Long
instance.AddDataToRefinement(ColName, _
FilterToken, FilterDisplayValue, _
FilterCount)
public void AddDataToRefinement(
string ColName,
string FilterToken,
string FilterDisplayValue,
long FilterCount
)
Parameters
ColName
Type: System.StringThe name of the property.
FilterToken
Type: System.StringThe token of the filter.
FilterDisplayValue
Type: System.StringThe value of the property.
FilterCount
Type: System.Int64The number of the results for the filter.
Remarks
This method calls the AddDataToRefinement(String, String, String, Int64, Single) method with -1 as the final argument to add the value of the specified property to the refinement data.