ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / FilterDescription Class / GetExpression<T> Method
The elements in the data source type

In This Topic
    GetExpression<T> Method
    In This Topic
    Returns an expression tree representing the current state of this filter description. The expression tree can be used to execute the filter against an Ado net Data Service source.
    Syntax
    'Declaration
     
    
    Public Function GetExpression(Of T)() As Expression(Of Func(Of T,Boolean))
    public Expression<Func<T,bool>> GetExpression<T>()

    Type Parameters

    T
    The elements in the data source type

    Return Value

    The filter expression
    See Also