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



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

Parameters

value
The TdTimestampWithTimeZone that is to be converted.

Return Value

A DateTimeOffset is returned that is equivalent to the TdTimestampWithTimeZone value.
Exceptions
ExceptionDescription
The value is null.
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

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members
Overload List