OracleTimeSpan Constructor (Int32, Int32, Int32)

 

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

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

public OracleTimeSpan(
	int hours,
	int minutes,
	int seconds
)

Parameters

hours
Type: System.Int32

Number of hours.

minutes
Type: System.Int32

Number of minutes.

seconds
Type: System.Int32

Number of seconds.

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: