Export (0) Print
Expand All

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:
OracleMonthSpan(
	int years, 
	int months
)

Parameters

years
Type: System::Int32

Number of years.

months
Type: System::Int32

Number of months.

ExceptionCondition
ArgumentOutOfRangeException

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft