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

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

See Also

Reference

TdIntervalHour Structure
TdIntervalHour Members
Overload List