TimeSpan.Nanoseconds Property

Definition

Gets the nanoseconds component of the time interval represented by the current TimeSpan structure.

public:
 property int Nanoseconds { int get(); };
public int Nanoseconds { get; }
member this.Nanoseconds : int
Public ReadOnly Property Nanoseconds As Integer

Property Value

Remarks

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

Applies to