ComponentOne DataFilter for WPF
C1.WPF.DataFilter Namespace / C1DataFilter Class / SaveFilterExpression Method
The file name for storing filter expressions.

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

    Parameters

    fileName
    The file name for storing filter expressions.
    Exceptions
    ExceptionDescription
    The exception that is thrown when a method call is invalid for the object's current state.
    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