Xceed .NET Libraries Documentation
NameFilter Constructor(String)


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > NameFilter Class > NameFilter Constructor : NameFilter Constructor(String)
Mask to use to filter file names (e.g. "*.txt", "a??.txt", etc.) By default, the FilterScope is set to File.
Initializes a new instance of the NameFilter class.
Syntax
'Declaration
 
Public Function New( _

   ByVal mask As String _

)
'Usage
 
Dim mask As String

 

Dim instance As New NameFilter(mask)
public NameFilter( 

   string mask

)

Parameters

mask
Mask to use to filter file names (e.g. "*.txt", "a??.txt", etc.) By default, the FilterScope is set to File.
Remarks

By default, the mask is not case sensitive. To make it case sensitive, just prepend '>' to the mask parameter.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NameFilter Class
NameFilter Members
Overload List