TimeSpan.Duration TimeSpan.Duration TimeSpan.Duration TimeSpan.Duration TimeSpan.Duration Field

Definition

A time period expressed in 100-nanosecond units.

Note

In C++/WinRT, this field does not exist, because in that language projection TimeSpan is a specialization of std::chrono::duration. If you need the raw integer value, use duration::count to obtain the raw count.

long Duration;
long Duration;
long Duration;
Duration As long;
var long = timeSpan.duration;
timeSpan.duration = long;