Xceed .NET Libraries Documentation
DateTimeFilter Constructor(DateTime,DateTime,FilterScope)


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > DateTimeFilter Class > DateTimeFilter Constructor : DateTimeFilter Constructor(DateTime,DateTime,FilterScope)
A System.DateTime field that represents the minimum date and time of the filter.
A System.DateTime field that represents the maximum date and time of the filter.
Determines whether the filter applies to files, folders or both.
Initializes a new instance of the DateTimeFilter class, specifying to which type of FileSystemItem object the filter applies.
Syntax
'Declaration
 
Public Function New( _
   ByVal minValue As Date, _
   ByVal maxValue As Date, _
   ByVal scope As FilterScope _
)
'Usage
 
Dim minValue As Date
Dim maxValue As Date
Dim scope As FilterScope
 
Dim instance As New DateTimeFilter(minValue, maxValue, scope)
public DateTimeFilter( 
   DateTime minValue,
   DateTime maxValue,
   FilterScope scope
)

Parameters

minValue
A System.DateTime field that represents the minimum date and time of the filter.
maxValue
A System.DateTime field that represents the maximum date and time of the filter.
scope
Determines whether the filter applies to files, folders or both.
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

DateTimeFilter Class
DateTimeFilter Members
Overload List