Initializes a new instance of the
DateGroupItem struct.
Syntax
'Declaration
Public Function New( _
ByVal As DateTimeGrouping, _
ByVal As Integer, _
Optional ByVal As Integer, _
Optional ByVal As Integer, _
Optional ByVal As Integer, _
Optional ByVal As Integer, _
Optional ByVal As Integer _
)
'Usage
Dim groupingBy As DateTimeGrouping
Dim year As Integer
Dim month As Integer
Dim day As Integer
Dim hour As Integer
Dim minute As Integer
Dim second As Integer
Dim instance As New DateGroupItem(groupingBy, year, month, day, hour, minute, second)
public DateGroupItem(
DateTimeGrouping ,
int ,
int ,
int ,
int ,
int ,
int
)
Parameters
- groupingBy
- The grouping by.
- year
- An integer value indicates the filtering year.
- month
- An integer value indicates the filtering.
- day
- An integer value indicates the filtering day.
- hour
- An integer value indicates the filtering hour.
- minute
- An integer value indicates the filtering minute.
- second
- An integer value indicates the filtering second.
See Also