'Declaration Public Function New( _ ByVal type As FixedDateGroupType, _ ByVal value As System.Date _ )
public FixedDateGroup( FixedDateGroupType type, System.DateTime value )
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | type is not defined in the FixedDateGroupType enumeration. |
System.ArgumentException | value cannot be defined in the Excel. |
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.
Target Platforms: Windows 8.1, 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
View on GitHub