[This is preliminary documentation and is subject to change.]
Initializes a new TimeSpanFormattable to a specified number of hours, minutes, and seconds.
Namespace: ToolsAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public TimeSpanFormattable( int hours, int minutes, int seconds ) |
| Visual Basic |
|---|
Public Sub New ( _ hours As Integer, _ minutes As Integer, _ seconds As Integer _ ) |
| Visual C++ |
|---|
public: TimeSpanFormattable( int hours, int minutes, int seconds ) |
| F# |
|---|
new : hours:int * minutes:int * seconds:int -> TimeSpanFormattable |
| JScript |
|---|
public function TimeSpanFormattable( hours : int, minutes : int, seconds : int ) |
Parameters
- hours
- Type: System..::..Int32
Number of hours.
- minutes
- Type: System..::..Int32
Number of minutes.
- seconds
- Type: System..::..Int32
Number of seconds.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | The parameters specify a TimeSpanFormattable value less than MinValue or greater than MaxValue. |