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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdTimeWithTimeZone Structure
TdTimeWithTimeZone Members
Overload List