TimeSpan.FromMicroseconds Metodo

Definizione

Overload

Nome Descrizione
FromMicroseconds(Double)

Restituisce un oggetto TimeSpan che rappresenta un numero specificato di microsecondi.

FromMicroseconds(Int64)

Inizializza una nuova istanza della TimeSpan struttura in un numero specificato di microsecondi.

FromMicroseconds(Double)

Origine:
TimeSpan.cs
Origine:
TimeSpan.cs
Origine:
TimeSpan.cs
Origine:
TimeSpan.cs
Origine:
TimeSpan.cs

Restituisce un oggetto TimeSpan che rappresenta un numero specificato di microsecondi.

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

Parametri

value
Double

Numero di microsecondi.

Valori restituiti

Oggetto che rappresenta value.

Eccezioni

value è minore MinValue o maggiore di MaxValue.

oppure

value è PositiveInfinity

oppure

value è NegativeInfinity

value è uguale a NaN.

Si applica a

FromMicroseconds(Int64)

Origine:
TimeSpan.cs
Origine:
TimeSpan.cs
Origine:
TimeSpan.cs

Inizializza una nuova istanza della TimeSpan struttura in un numero specificato di microsecondi.

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

Parametri

microseconds
Int64

Numero di microsecondi.

Valori restituiti

Restituisce un oggetto TimeSpan che rappresenta un numero specificato di microsecondi.

Eccezioni

I parametri specificano un TimeSpan valore minore MinValue o maggiore di MaxValue

Si applica a