[This is preliminary documentation and is subject to change.]

Adds two specified TimeSpanFormattable instances.

Namespace: Tools
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public static TimeSpanFormattable operator +(
	TimeSpanFormattable t1,
	TimeSpanFormattable t2
)
Visual Basic
Public Shared Operator + ( _
	t1 As TimeSpanFormattable, _
	t2 As TimeSpanFormattable _
) As TimeSpanFormattable
Visual C++
public:
static TimeSpanFormattable operator +(
	TimeSpanFormattable t1, 
	TimeSpanFormattable t2
)
F#
static let inline (+)
        t1:TimeSpanFormattable * 
        t2:TimeSpanFormattable  : TimeSpanFormattable
JScript
JScript does not support overloaded operators.

Return Value

A TimeSpanFormattable whose value is the sum of the values of t1 and t2.

Exceptions

ExceptionCondition
System..::..OverflowExceptionThe resulting TimeSpanFormattable is less than MinValue or greater than MaxValue.

See Also