Send feedback on this topic.
Teradata.Client.Provider
Explicit Type Conversion(TdIntervalDayToHour,TdIntervalHour) Operator



Teradata.Client.Provider Namespace > TdIntervalHour Structure > Explicit Type Conversion Operator : Explicit Type Conversion(TdIntervalDayToHour,TdIntervalHour) Operator
A TdIntervalHour interval.
Converts a TdIntervalHour to TdIntervalDayToHour.
Syntax
'Declaration
 
Overloads Public Operator Narrowing CType( _
   ByVal value As TdIntervalHour _
) As TdIntervalDayToHour
'Usage
 
public TdIntervalDayToHour operator explicit( 
   TdIntervalHour value
)
public:
TdIntervalDayToHour operator explicit( 
   TdIntervalHour value
)

Parameters

value
A TdIntervalHour interval.

Return Value

A TdIntervalDayToHour.
Exceptions
ExceptionDescription
The resultant conversion returns a value greater than the TdIntervalHour.MaxValue or less than the TdIntervalHour.MinValue.
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

TdIntervalHour Structure
TdIntervalHour Members
Overload List