SpreadsheetGear 2023
AutoFilterDateTimeGroupItem Constructor


SpreadsheetGear Namespace > AutoFilterDateTimeGroupItem Class : AutoFilterDateTimeGroupItem Constructor
Specifies whether this item should filter by year, month, day, hour, minute or second.
Specifies the date / time for this item.
Initializes an AutoFilterDateTimeGroupItem with the specified grouping and date / time.
Syntax
'Declaration
 
Public Function New( _
   ByVal dateTimeGrouping As AutoFilterDateTimeGrouping, _
   ByVal dateTime As System.Date _
)
'Usage
 
Dim dateTimeGrouping As AutoFilterDateTimeGrouping
Dim dateTime As System.Date
 
Dim instance As New AutoFilterDateTimeGroupItem(dateTimeGrouping, dateTime)
public AutoFilterDateTimeGroupItem( 
   AutoFilterDateTimeGrouping dateTimeGrouping,
   System.DateTime dateTime
)

Parameters

dateTimeGrouping
Specifies whether this item should filter by year, month, day, hour, minute or second.
dateTime
Specifies the date / time for this item.
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

AutoFilterDateTimeGroupItem Class
AutoFilterDateTimeGroupItem Members