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


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > DateTimeFilter Class > DateTimeFilter Constructor : DateTimeFilter Constructor(DateTime,DateTime,ApplicableDateTime,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 to which type of date/time the filter applies.
Determines whether the filter applies to files, folders or both.
Initializes a new instance of the DateTimeFilter class, specifying to which type of date/time and FileSystemItem object the filter applies.
Syntax
'Declaration
 
Public Function New( _

   ByVal minValue As Date, _

   ByVal maxValue As Date, _

   ByVal applicableDateTimes As DateTimeFilter.ApplicableDateTime, _

   ByVal scope As FilterScope _

)
'Usage
 
Dim minValue As Date

Dim maxValue As Date

Dim applicableDateTimes As DateTimeFilter.ApplicableDateTime

Dim scope As FilterScope

 

Dim instance As New DateTimeFilter(minValue, maxValue, applicableDateTimes, 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.
applicableDateTimes
Determines to which type of date/time the filter applies.
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