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



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

Parameters

value
A TdIntervalSecond interval.

Return Value

A TimeSpan.
Exceptions
ExceptionDescription
The TdIntervalSecond value is TdIntervalSecond.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

TdIntervalSecond Structure
TdIntervalSecond Members
Overload List