ComponentOne CollectionView
C1.CollectionView Assembly / C1.CollectionView 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 System.String, _
       ByVal fields As System.Collections.Generic.IEnumerable(Of String), _
       Optional ByVal treatSpacesAsAndOperator As System.Boolean, _
       Optional ByVal matchCase As System.Boolean, _
       Optional ByVal matchWholeWord As System.Boolean _
    ) As FilterExpression
    public static FilterExpression FromString( 
       System.string query,
       System.Collections.Generic.IEnumerable<string> fields,
       System.bool treatSpacesAsAndOperator,
       System.bool matchCase,
       System.bool matchWholeWord
    )

    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