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



Teradata.Client.Provider Namespace > TdIntervalYear Structure > Explicit Type Conversion Operator : Explicit Type Conversion(TdIntervalYear,Int32) Operator
An Int32 representing a TdIntervalYear interval.
Converts an Int32 to TdIntervalYear.
Syntax
'Declaration
 
Overloads Public Operator Narrowing CType( _
   ByVal value As Integer _
) As TdIntervalYear
'Usage
 
public TdIntervalYear operator explicit( 
   int value
)
public:
TdIntervalYear operator explicit( 
   int value
)

Parameters

value
An Int32 representing a TdIntervalYear interval.

Return Value

A TdIntervalYear.
Exceptions
ExceptionDescription
The resultant conversion returns a value greater than the TdIntervalYear.MaxValue or less than the TdIntervalYear.MinValue.
Remarks
The conversion may produce exceptions due to exceeding TdIntervalYear.MinValue or TdIntervalYear.MaxValue.
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

TdIntervalYear Structure
TdIntervalYear Members
Overload List