Version

FixedDateGroup Constructor

Creates a new FixedDateGroup instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal type As FixedDateGroupType, _
   ByVal value As Date _
)
public FixedDateGroup( 
   FixedDateGroupType type,
   DateTime value
)

Parameters

type
The type, or precision, of the group.
value
The reference date which determines range of accepted dates.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptiontype is not defined in the FixedDateGroupType enumeration.
System.ArgumentExceptionvalue cannot be defined in the Excel.
Remarks

type indicates the precision of value, which defines the range of accepted dates in the group. For example, if the type is Hour and value is 12/19/2011 1:29:13 PM, the date range allowed by the FixedDateGroup would be 12/19/2011 1:00:00 PM to 12/19/2011 1:59:59 PM.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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