combit List & Label 29 - .NET Help
combit.Reporting.DataProviders Namespace / DbConnectionDataProvider Class / TranslateFilterSyntax Event


In This Topic
    TranslateFilterSyntax Event (DbConnectionDataProvider)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Event TranslateFilterSyntax As EventHandler(Of TranslateFilterSyntaxEventArgs)
    public event EventHandler<TranslateFilterSyntaxEventArgs> TranslateFilterSyntax
    public:
    event EventHandler<TranslateFilterSyntaxEventArgs^>^ TranslateFilterSyntax
    Event Data

    The event handler receives an argument of type TranslateFilterSyntaxEventArgs containing data related to this event. The following TranslateFilterSyntaxEventArgs properties provide information specific to this event.

    PropertyDescription
    Number of arguments in case a function should be translated.  
    Array of arguments. In case of operators, it contains the left hand and possibly the right hand side. In case of functions, the array holds the function's parameters as used in the Designer.  
    Set to true to indicate that the event has been properly handled and no further default handling should be performed.  

    Name to be translated. If argumentType is e.g. Text, this object contains an index and can be set to a string to use as parameter name instead. The value of the parameter is then passed to the ApplyAdvancedFilter Method later.

    In case of RelationEqual to be translated, the name might be "@ARG:MULTIVALUE". In this case, the right hand side (Arguments[1]) contains a comma separated list of values to compare to.

     
    The kind of expression that is to be translated.  
    The translated expression or null if the default handling should be used.
     
     
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also