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



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

Parameters

value
A TdIntervalYear interval.

Return Value

TdIntervalYear converted to an Int32 representing a year interval.
Exceptions
ExceptionDescription
The TdIntervalYear value is TdIntervalYear.Null.
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