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



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

Parameters

left
A TdIntervalSecond to subtract from.
right
A TdIntervalSecond to subtract.

Return Value

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

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

The returned TdIntervalSecond will contain a precision set to the TdIntervalSecond.MaxPrecision. The scale will always be set to the the scale of the operand containing the greatest scale.

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

TdIntervalSecond Structure
TdIntervalSecond Members
Overload List