TimeSpan.FromMicroseconds Metode

Definisi

Overload

Nama Deskripsi
FromMicroseconds(Double)

Mengembalikan TimeSpan yang menunjukkan jumlah mikrosecond tertentu.

FromMicroseconds(Int64)

Menginisialisasi instans TimeSpan baru struktur ke sejumlah mikro detik tertentu.

FromMicroseconds(Double)

Sumber:
TimeSpan.cs
Sumber:
TimeSpan.cs
Sumber:
TimeSpan.cs
Sumber:
TimeSpan.cs
Sumber:
TimeSpan.cs

Mengembalikan TimeSpan yang menunjukkan jumlah mikrosecond tertentu.

public:
 static TimeSpan FromMicroseconds(double value);
public static TimeSpan FromMicroseconds(double value);
static member FromMicroseconds : double -> TimeSpan
Public Shared Function FromMicroseconds (value As Double) As TimeSpan

Parameter

value
Double

Sejumlah mikrostik.

Mengembalikan

Objek yang mewakili value.

Pengecualian

value kurang dari MinValue atau lebih besar dari MaxValue.

-atau-

value adalah PositiveInfinity

-atau-

value adalah NegativeInfinity

value sama dengan NaN.

Berlaku untuk

FromMicroseconds(Int64)

Sumber:
TimeSpan.cs
Sumber:
TimeSpan.cs
Sumber:
TimeSpan.cs

Menginisialisasi instans TimeSpan baru struktur ke sejumlah mikro detik tertentu.

public:
 static TimeSpan FromMicroseconds(long microseconds);
public static TimeSpan FromMicroseconds(long microseconds);
static member FromMicroseconds : int64 -> TimeSpan
Public Shared Function FromMicroseconds (microseconds As Long) As TimeSpan

Parameter

microseconds
Int64

Jumlah mikrostik.

Mengembalikan

Mengembalikan TimeSpan yang menunjukkan jumlah mikrosecond tertentu.

Pengecualian

Parameter menentukan nilai yang TimeSpan kurang dari MinValue atau lebih besar dari MaxValue

Berlaku untuk