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

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

See Also

Reference

TdIntervalMinuteToSecond Structure
TdIntervalMinuteToSecond Members
Overload List