Share via


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.

public: long long Duration;
long Duration;
public long Duration;
Public Duration As Long 

Field Value

Int64

long long

long

Applies to