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.Duration

Gets the duration of the current time span.

[Visual Basic]
Public Function Duration() As TimeSpan
[C#]
public TimeSpan Duration();
[C++]
public: TimeSpan Duration();
[JScript]
public function Duration() : TimeSpan;

Return Value

A TimeSpan representing the absolute value of the current instance.

Remarks

The Duration method returns a new TimeSpan instance that is based upon an evaluation of two specified ticks values.

See Also

TimeSpan Structure | TimeSpan Members | System Namespace | Ticks