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



Teradata.Client.Provider Namespace > TdIntervalHourToMinute Structure > Explicit Type Conversion Operator : Explicit Type Conversion(TdIntervalHourToMinute,TimeSpan) Operator
A TimeSpan.
Converts a TimeSpan to a TdIntervalHourToMinute.
Syntax
'Declaration
 
Overloads Public Operator Narrowing CType( _
   ByVal value As TimeSpan _
) As TdIntervalHourToMinute
'Usage
 
public TdIntervalHourToMinute operator explicit( 
   TimeSpan value
)
public:
TdIntervalHourToMinute operator explicit( 
   TimeSpan value
)

Parameters

value
A TimeSpan.

Return Value

A TdIntervalHourToMinute interval.
Exceptions
ExceptionDescription
The resultant operation returns a value greater than the TdIntervalHourToMinute.MaxValue or less than the TdIntervalHourToMinute.MinValue.
Remarks
TimeSpan fractional seconds and seconds will be truncated during conversion into a TdIntervalHourToMinute interval.
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

TdIntervalHourToMinute Structure
TdIntervalHourToMinute Members
Overload List