TimeSpan.TotalNanoseconds Property


Gets the value of the current TimeSpan structure expressed in whole and fractional nanoseconds.

 property double TotalNanoseconds { double get(); };
public double TotalNanoseconds { get; }
member this.TotalNanoseconds : double
Public ReadOnly Property TotalNanoseconds As Double

Property Value


This property converts the value of this instance from ticks to nanoseconds. This number might include whole and fractional nanoseconds.

The TotalNanoseconds property represents whole and fractional nanoseconds, whereas the Nanoseconds property represents whole nanoseconds.

Applies to