Edit

Share via


TimeSpan.TotalNanoseconds Property

Definition

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

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

Property Value

Remarks

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