Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new TimeSpan to a specified number of hours, minutes, and seconds.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Sub New ( _
hours As Integer, _
minutes As Integer, _
seconds As Integer _
)
public TimeSpan(
int hours,
int minutes,
int seconds
)
public:
TimeSpan(
int hours,
int minutes,
int seconds
)
new :
hours:int *
minutes:int *
seconds:int -> TimeSpan
public function TimeSpan(
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.
Remarks
The specified hours, minutes, and seconds are converted to ticks, and that value initializes this instance.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.