Llegeix en anglès Edita

Comparteix a través de


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

Producte Versions
.NET 7, 8, 9, 10