Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / FilterExpression Class / FromString Method
The query to be filtered.
The fields taken into account in the filter operation.
If set to true treat spaces as and operator.
If set to true the case will be taken into account.
If set to true the whole word will have to be matched.

In This Topic
    FromString Method
    In This Topic
    Creates a FilterExpression from a string.
    Syntax
    'Declaration
     
    
    Public Shared Function FromString( _
       ByVal query As String, _
       ByVal fields As IEnumerable(Of String), _
       Optional ByVal treatSpacesAsAndOperator As Boolean, _
       Optional ByVal matchCase As Boolean, _
       Optional ByVal matchWholeWord As Boolean _
    ) As FilterExpression

    Parameters

    query
    The query to be filtered.
    fields
    The fields taken into account in the filter operation.
    treatSpacesAsAndOperator
    If set to true treat spaces as and operator.
    matchCase
    If set to true the case will be taken into account.
    matchWholeWord
    If set to true the whole word will have to be matched.
    See Also