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



Teradata.Client.Provider Namespace > TdIntervalHour Structure > Explicit Type Conversion Operator : Explicit Type Conversion(TdIntervalHour,Int32) Operator
An Int32 representing a TdIntervalHour interval.
Converts an Int32 to TdIntervalHour.
Syntax
'Declaration
 
Overloads Public Operator Narrowing CType( _
   ByVal value As Integer _
) As TdIntervalHour
'Usage
 
public TdIntervalHour operator explicit( 
   int value
)
public:
TdIntervalHour operator explicit( 
   int value
)

Parameters

value
An Int32 representing a TdIntervalHour interval.

Return Value

A TdIntervalHour.
Exceptions
ExceptionDescription
The resultant conversion returns a value greater than the TdIntervalHour.MaxValue or less than the TdIntervalHour.MinValue.
Remarks
The conversion may produce exceptions due to exceeding TdIntervalHour.MinValue or TdIntervalHour.MaxValue.
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

TdIntervalHour Structure
TdIntervalHour Members
Overload List