Send feedback on this topic.
Teradata.Client.Provider
Addition(Int32,TdIntervalMonth) Operator



Teradata.Client.Provider Namespace > TdIntervalMonth Structure > Addition Operator : Addition(Int32,TdIntervalMonth) Operator
Number of months to add.
A TdIntervalMonth.
The specified number of months is added to the TdIntervalMonth.
Syntax
'Declaration
 
Overloads Public Operator +( _
   ByVal months As Integer, _
   ByVal interval As TdIntervalMonth _
) As TdIntervalMonth
'Usage
 
public TdIntervalMonth operator +( 
   int months,
   TdIntervalMonth interval
)
public:
TdIntervalMonth operator +( 
   int months,
   TdIntervalMonth interval
)

Parameters

months
Number of months to add.
interval
A TdIntervalMonth.

Return Value

A new TdIntervalMonth as the result of adding an Int32 to TdIntervalMonth.
Exceptions
ExceptionDescription
The resultant operation returns a value greater than the TdIntervalMonth.MaxValue or less than the TdIntervalMonth.MinValue.
Remarks

If interval is TdIntervalMonth.Null a Null will be returned.

The returned TdIntervalMonth will contain a precision set to the TdIntervalMonth.MaxPrecision.

Requirements

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

See Also

Reference

TdIntervalMonth Structure
TdIntervalMonth Members
Overload List