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



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

Parameters

left
A TdIntervalHour to subtract from.
right
A TdIntervalHour to subtract.

Return Value

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

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

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

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdIntervalHour Structure
TdIntervalHour Members
Overload List