DateTimeOffset.Microsecond 屬性

定義

取得目前 DateTimeOffset 物件所代表的時間的微秒分量。

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

屬性值

備註

如果你依賴像 或 UtcNow 這類特性Now來準確追蹤經過的微秒數,那麼時間中微秒成分的精度取決於系統時鐘的解析度。 在 Windows NT 3.5 及更新版本,以及 Windows Vista 作業系統上,時鐘的解析度約為 10000-15000 微秒。

適用於