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



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

Parameters

value
A TimeSpan.

Return Value

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

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdIntervalDayToMinute Structure
TdIntervalDayToMinute Members
Overload List