DataCollection | ComponentOne
C1.DataCollection.BindingList Assembly / C1.DataCollection.BindingList Namespace / C1BindingListDataCollection Class / ToFilterString Method
The expression to be converted.
The typed list used to look for property names and find whether it is necessary to convert the property to string.

In This Topic
    ToFilterString Method
    In This Topic
    Converts the filterExpression into a DataSet filter expression https://learn.microsoft.com/en-us/dotnet/api/system.data.datacolumn.expression.
    Syntax
    'Declaration
     
    Public Shared Function ToFilterString( _
       ByVal filterExpression As FilterExpression, _
       Optional ByVal typedList As ITypedList _
    ) As String
    public static string ToFilterString( 
       FilterExpression filterExpression,
       ITypedList typedList
    )

    Parameters

    filterExpression
    The expression to be converted.
    typedList
    The typed list used to look for property names and find whether it is necessary to convert the property to string.
    Exceptions
    ExceptionDescription
    Thrown when a C1.DataCollection.FilterPredicateExpression is passed as parameter. This kind of expressions are opaque and can not be converted.
    See Also