Bridge
TimeSpan
.
.
::
.
.
Duration Method
Returns a new
TimeSpan
object whose value is the absolute value of the current
TimeSpan
object.
Namespace:
System
Assembly:
Bridge
(in Bridge.dll)
Syntax
C#
VB
C++
public
TimeSpan
Duration
()
Public
Function
Duration
As
TimeSpan
public
:
TimeSpan
^
Duration
()
Return Value
A new object whose value is the absolute value of the current
TimeSpan
object.
Exceptions
Exception
Condition
System
.
.
::
.
.
OverflowException
The value of this instance is
MinValue
.
See Also
TimeSpan Structure
System Namespace