NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TimeSpan.Add

Adds the current instance to the specified TimeSpan.

[Visual Basic]
Public Function Add( _
   ByVal ts As TimeSpan _
) As TimeSpan
[C#]
public TimeSpan Add(
   TimeSpan ts
);
[C++]
public: TimeSpan Add(
   TimeSpan ts
);
[JScript]
public function Add(
   ts : TimeSpan
) : TimeSpan;

Parameters

ts
The TimeSpan to add to the current instance.

Return Value

A TimeSpan that represents the sum of the current instance and ts.

Remarks

The Add value of the sum must be between MinValue and MaxValue, otherwise an exception will be thrown.

See Also

TimeSpan Structure | TimeSpan Members | System Namespace