Send feedback on this topic.
Teradata.Client.Provider
Addition(TimeSpan,TdPeriodTime) Operator



Teradata.Client.Provider Namespace > TdPeriodTime Structure > Addition Operator : Addition(TimeSpan,TdPeriodTime) Operator
A TimeSpan that will be added to TdPeriodTime.
A TdPeriodTime.
Adds the specified TimeSpan to a TdPeriodTime.
Syntax
'Declaration
 
Overloads Public Operator +( _
   ByVal timeSpan As TimeSpan, _
   ByVal period As TdPeriodTime _
) As TdPeriodTime
'Usage
 
public TdPeriodTime operator +( 
   TimeSpan timeSpan,
   TdPeriodTime period
)
public:
TdPeriodTime operator +( 
   TimeSpan timeSpan,
   TdPeriodTime period
)

Parameters

timeSpan
A TimeSpan that will be added to TdPeriodTime.
period
A TdPeriodTime.

Return Value

A TdPeriodTime is returned that is the result of adding the Timespan to TdPeriodTime.
Exceptions
ExceptionDescription
The result could not be represented as a TdPeriodTime.
Remarks
Refer to TdPeriodTime.Add and Period Arithmetic for additional information.
Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdPeriodTime Structure
TdPeriodTime Members
Overload List