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



Teradata.Client.Provider Namespace > TdTimeWithTimeZone Structure > Explicit Type Conversion Operator : Explicit Type Conversion(TdTimeWithTimeZone,TimeSpan) Operator
The TimeSpan that is to be converted.
The TimeSpan that represents the time is converted into a TdTimeWithTimeZone.
Syntax
'Declaration
 
Overloads Public Operator Narrowing CType( _
   ByVal value As TimeSpan _
) As TdTimeWithTimeZone
'Usage
 
public TdTimeWithTimeZone operator explicit( 
   TimeSpan value
)
public:
TdTimeWithTimeZone operator explicit( 
   TimeSpan value
)

Parameters

value
The TimeSpan that is to be converted.

Return Value

A TdTimeWithTimeZone is returned.
Exceptions
ExceptionDescription
The TimeSpan is out of range.
Remarks
The TimeSpan structure will contain the time in 24 hour format.
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

TdTimeWithTimeZone Structure
TdTimeWithTimeZone Members
Overload List