TimeSpan.UnaryPlus Operator (TimeSpan)


Returns the specified instance of TimeSpan.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

static let inline (+)
        t:TimeSpan : TimeSpan


Type: System.TimeSpan

The time interval to return.

Return Value

Type: System.TimeSpan

The time interval specified by t.

The following example applies the UnaryPlus operator to several TimeSpan objects.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top