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)

Public Sub New (
	years As Integer,
	months As Integer
)

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: