'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.