OracleMonthSpan Constructor (Int32, Int32)

 

Initializes a new OracleMonthSpan structure to a specified number years and months.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

new : 
        years:int *
        months:int -> OracleMonthSpan

Parameters

years
Type: System.Int32

Number of years.

months
Type: System.Int32

Number of months.

Exception Condition
ArgumentOutOfRangeException

The parameters specify an OracleMonthSpan value less than MinValue or greater than MaxValue.

.NET Framework
Available since 1.1
Return to top
Show: