Xceed .NET Libraries Documentation
IsItemMatchingOne(FileSystemItem,Filter[]) Method


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > Filter Class > IsItemMatchingOne Method : IsItemMatchingOne(FileSystemItem,Filter[]) Method
The FileSystemItem object that will be verified.
The array of Filter objects against which item will be verified.
Verifies if the FileSystemItem object matches at least one of the provided filters.
Syntax
'Declaration
 
Public Overloads Shared Function IsItemMatchingOne( _
   ByVal item As FileSystemItem, _
   ByVal filters() As Filter _
) As Boolean
'Usage
 
Dim item As FileSystemItem
Dim filters() As Filter
Dim value As Boolean
 
value = Filter.IsItemMatchingOne(item, filters)
public static bool IsItemMatchingOne( 
   FileSystemItem item,
   Filter[] filters
)

Parameters

item
The FileSystemItem object that will be verified.
filters
The array of Filter objects against which item will be verified.

Return Value

true if item matches one of the provided filters; false otherwise.
Remarks

Only filters with a File or Folder FilterScope are considered, depending on the item type.

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

Filter Class
Filter Members
Overload List