ComponentOne DataFilter for WPF
C1.WPF.DataFilter Namespace / C1DataFilter Class / LoadFilterExpression Method
The file name that stores the filter expressions.

In This Topic
    LoadFilterExpression Method (C1DataFilter)
    In This Topic
    Loads expressions to the C1DataFilter.Filters collection from a file.
    Syntax
    'Declaration
     
    
    Public Sub LoadFilterExpression( _
       ByVal fileName As String _
    ) 
    public void LoadFilterExpression( 
       string fileName
    )

    Parameters

    fileName
    The file name that stores the filter expressions.
    Exceptions
    ExceptionDescription
    The exception that is thrown when one of the arguments provided to a method is not valid.
    The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality.
    The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
    The exception that is thrown when a security error is detected.
    The exception that is thrown when an attempt to access a file that does not exist on disk fails.
    The exception that is thrown when the operating system denies access because of an I/O error or a specific type of security error.
    The exception that is thrown when an I/O error occurs.
    The exception that is thrown when part of a file or directory cannot be found.
    The exception that is thrown when a path or fully qualified file name is longer than the system-defined maximum length.
    The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.
    See Also