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



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

Parameters

value
A TdIntervalHour interval.

Return Value

A TimeSpan.
Exceptions
ExceptionDescription
The TdIntervalHour value is TdIntervalHour.Null.
Remarks
The TimeSpan time components are represented in 24 hour format.
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