Parameters
- years
- The number of years to add to the date.
Return Value
A TdDate structure is returned.
Exception | Description |
---|---|
System.OverflowException | Unable to add the specified number of years to this instance of TdDate. |
If this instance of TdDate is Null a TdDate.Null will be returned.
Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2