| FileListFileMatches Method  | 
 
            Override this method to implement/extend your own FileMatching mechanism.
            
 
    Namespace: 
   Jam.Shell
    Assembly:
   ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
 Syntax
Syntaxpublic virtual bool FileMatches(
	SearchOptions p_SearchOptions,
	string filename
)
Public Overridable Function FileMatches ( 
	p_SearchOptions As SearchOptions,
	filename As String
) As Boolean
public:
virtual bool FileMatches(
	SearchOptions^ p_SearchOptions, 
	String^ filename
)
abstract FileMatches : 
        p_SearchOptions : SearchOptions * 
        filename : string -> bool 
override FileMatches : 
        p_SearchOptions : SearchOptions * 
        filename : string -> bool Parameters
- p_SearchOptions
- Type: Jam.ShellSearchOptions
 The SearchOptions that where specified for the search run.
- filename
- Type: SystemString
 Absolute filename of the item the search process is currently handling
Return Value
Type: 
Booleantrue if the file matches the search criterion
Implements
IFileMatcherFileMatches(SearchOptions, String) Examples
Examplesclass MyFileList : Jam.Shell.FileList 
{
    protected override bool FileMatches(SearchOptions p_SearchOptions, string filename)
    {
        if (!base.FileMatches(p_SearchOptions, filename)) 
        {
            return false;
        }
        
        return true;
    }
} See Also
See Also