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

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdIntervalHour Structure
TdIntervalHour Members
Overload List