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.
| Product | Versions | Platforms |
|---|---|---|
| .NET | 6, 7 | Windows, Linux, MacOS |
| .NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
| .NET Standard | 2.0 | Windows, Linux, MacOS |