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


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


ExceptionCondition
System..::..OverflowExceptionThe value of this instance is MinValue.