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



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

Parameters

left
A TdIntervalYear to subtract from.
right
A TdIntervalYear to subtract.

Return Value

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

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

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

Requirements

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

See Also

Reference

TdIntervalYear Structure
TdIntervalYear Members
Overload List