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


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > Filter Class > IsItemMatchingOne Method : IsItemMatchingOne(FileSystemItem,FilterScope,Filter[]) Method
The FileSystemItem object that will be verified.
The FilterScope of the filters to consider. Filters that do not share a common scope are ignored.
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 applicableScope As FilterScope, _

   ByVal filters() As Filter _

) As FilterResult
'Usage
 
Dim item As FileSystemItem

Dim applicableScope As FilterScope

Dim filters() As Filter

Dim value As FilterResult

 

value = Filter.IsItemMatchingOne(item, applicableScope, filters)
public static FilterResult IsItemMatchingOne( 

   FileSystemItem item,

   FilterScope applicableScope,

   Filter[] filters

)

Parameters

item
The FileSystemItem object that will be verified.
applicableScope
The FilterScope of the filters to consider. Filters that do not share a common scope are ignored.
filters
The array of Filter objects against which item will be verified.

Return Value

A FilterResult value indicating whether the item matches at least one of the Filter objects, or whether the FilterScope does not apply to the specified FileSystemItem.
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