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



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

Parameters

value
A TimeSpan.

Return Value

A TdIntervalMinuteToSecond interval.
Exceptions
ExceptionDescription
The resultant operation returns a value greater than the TdIntervalMinuteToSecond.MaxValue or less than the TdIntervalMinuteToSecond.MinValue.
Remarks
TimeSpan fractional seconds may be truncated during conversion into a TdIntervalMinuteToSecond interval. TimeSpan supports seven digits right of the decimal for fractional seconds, while TdIntervalMinuteToSecond supports six digits right of the decimal for fractional seconds (microseconds).
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

TdIntervalMinuteToSecond Structure
TdIntervalMinuteToSecond Members
Overload List