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.String

    The mapping type that specifies whether custom mapping is based on values or ranges.

  • dataType
    Type: System.String

    The type of the data to which the custom range applies.

  • valueReference
    Type: System.String

    The value that indicates whether the data is compared on an absolute or relative basis.

  • customValue
    Type: System.String

    The custom filter name that is displayed in the UI.

  • originalValue
    Type: System.String

    The value of the custom filter.

See also

Reference

ManagedPropertyCustomFilter class

ManagedPropertyCustomFilter members

Microsoft.Office.Server.Search.WebControls namespace