ManagedPropertyCustomFilter Constructor
Initializes a new instance of the ManagedPropertyCustomFilter class based on the specified mapping type, data type, value compare type, filter display name, the value, and the current culture information.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub New ( _
mappingType As String, _
dataType As String, _
valueReference As String, _
customValue As String, _
originalValue As String, _
queryCulture As CultureInfo _
)
'Usage
Dim mappingType As String
Dim dataType As String
Dim valueReference As String
Dim customValue As String
Dim originalValue As String
Dim queryCulture As CultureInfo
Dim instance As New ManagedPropertyCustomFilter(mappingType, _
dataType, valueReference, customValue, _
originalValue, queryCulture)
public ManagedPropertyCustomFilter(
string mappingType,
string dataType,
string valueReference,
string customValue,
string originalValue,
CultureInfo queryCulture
)
Parameters
mappingType
Type: System.StringThe mapping type that specifies whether custom mapping is based on values or ranges.
dataType
Type: System.StringThe type of the data to which the custom range applies.
valueReference
Type: System.StringThe value that indicates whether the data is compared on an absolute or relative basis.
customValue
Type: System.StringThe custom filter name that is displayed in the UI.
originalValue
Type: System.StringThe value of the custom filter.
queryCulture
Type: System.Globalization.CultureInfoThe current culture information.
See Also
Reference
ManagedPropertyCustomFilter Class