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



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

Parameters

value
An Int32 representing a TdIntervalMonth interval.

Return Value

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

TdIntervalMonth Structure
TdIntervalMonth Members
Overload List