OracleTimeSpan Constructor (Int32, Int32, Int32, Int32, Int32)

 

Initializes a new OracleTimeSpan structure to a specified number of days, hours, minutes, seconds, and milliseconds.

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

Public Sub New (
	days As Integer,
	hours As Integer,
	minutes As Integer,
	seconds As Integer,
	milliseconds As Integer
)

Parameters

days
Type: System.Int32

Number of days.

hours
Type: System.Int32

Number of hours.

minutes
Type: System.Int32

Number of minutes.

seconds
Type: System.Int32

Number of seconds.

milliseconds
Type: System.Int32

Number of milliseconds.

Exception Condition
ArgumentOutOfRangeException

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

.NET Framework
Available since 1.1
Return to top
Show: