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



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

Parameters

value
A TimeSpan.

Return Value

A TdIntervalMinute interval.
Exceptions
ExceptionDescription
The resultant operation returns a value greater than the TdIntervalMinute.MaxValue or less than the TdIntervalMinute.MinValue.
Remarks
TimeSpan fractional seconds and seconds will be truncated during conversion into a TdIntervalMinute interval.
Requirements

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

See Also

Reference

TdIntervalMinute Structure
TdIntervalMinute Members
Overload List