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

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

TdIntervalHourToMinute Structure
TdIntervalHourToMinute Members
Overload List