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



Teradata.Client.Provider Namespace > TdIntervalMonth Structure > Subtraction Operator : Subtraction(TdIntervalMonth,TdIntervalMonth) Operator
A TdIntervalMonth to subtract from.
A TdIntervalMonth to subtract.
A TdIntervalMonth is subtracted from another TdIntervalMonth.
Syntax
'Declaration
 
Overloads Public Operator -( _
   ByVal left As TdIntervalMonth, _
   ByVal right As TdIntervalMonth _
) As TdIntervalMonth
'Usage
 
public TdIntervalMonth operator -( 
   TdIntervalMonth left,
   TdIntervalMonth right
)
public:
TdIntervalMonth operator -( 
   TdIntervalMonth left,
   TdIntervalMonth right
)

Parameters

left
A TdIntervalMonth to subtract from.
right
A TdIntervalMonth to subtract.

Return Value

A new TdIntervalMonth as the result of subtracting a TdIntervalMonth from the left TdIntervalMonth.
Exceptions
ExceptionDescription
The resultant operation returns a value greater than the TdIntervalMonth.MaxValue or less than the TdIntervalMonth.MinValue.
Remarks

If either parameter is Null a TdIntervalMonth.Null will be returned.

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

Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdIntervalMonth Structure
TdIntervalMonth Members
Overload List