Send feedback on this topic.
Teradata.Client.Provider
Multiply(TdIntervalYear,Int32) Method



Teradata.Client.Provider Namespace > TdIntervalYear Structure > Multiply Method : Multiply(TdIntervalYear,Int32) Method
A TdIntervalYear.
A multiplier.
A TdIntervalYear is multiplied by an integer value.
Syntax
'Declaration
 
Public Overloads Shared Function Multiply( _
   ByVal interval As TdIntervalYear, _
   ByVal value As Integer _
) As TdIntervalYear
'Usage
 
Dim interval As TdIntervalYear
Dim value As Integer
Dim value As TdIntervalYear
 
value = TdIntervalYear.Multiply(interval, value)
public static TdIntervalYear Multiply( 
   TdIntervalYear interval,
   int value
)
public:
static TdIntervalYear Multiply( 
   TdIntervalYear interval,
   int value
) 

Parameters

interval
A TdIntervalYear.
value
A multiplier.

Return Value

A new TdIntervalYear as the result of multiplying a TdIntervalYear and an integer value.
Exceptions
ExceptionDescription
The resultant operation returns a value greater than the TdIntervalYear.MaxValue or less than the TdIntervalYear.MinValue.
Remarks

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

The returned TdIntervalYear will contain a precision set to the TdIntervalYear.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

TdIntervalYear Structure
TdIntervalYear Members
Overload List