Xceed .NET Libraries Documentation
IsItemMatching(FileSystemItem,FilterScope) Method


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > Filter Class > IsItemMatching Method : IsItemMatching(FileSystemItem,FilterScope) Method
The FileSystemItem object to verify.
The applicable FilterScope.
Gets a FilterResult value indicating if the item matches the filter.
Syntax
'Declaration
 
Public Overloads Overridable Function IsItemMatching( _
   ByVal item As FileSystemItem, _
   ByVal applicableScope As FilterScope _
) As FilterResult
'Usage
 
Dim instance As Filter
Dim item As FileSystemItem
Dim applicableScope As FilterScope
Dim value As FilterResult
 
value = instance.IsItemMatching(item, applicableScope)
public virtual FilterResult IsItemMatching( 
   FileSystemItem item,
   FilterScope applicableScope
)

Parameters

item
The FileSystemItem object to verify.
applicableScope
The applicable FilterScope.

Return Value

A FilterResult value: NotApplicable if the filter's scope does not match the applicable scope; Accept if the filter matches the item; Reject otherwise.
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