DateTime.AddTicks(Int64) Metodo
Definizione
public:
DateTime AddTicks(long value);
public DateTime AddTicks (long value);
member this.AddTicks : int64 -> DateTime
Public Function AddTicks (value As Long) As DateTime
Parametri
- value
- Int64
Numero di tick di 100 nanosecondi.A number of 100-nanosecond ticks. Il parametro value
può essere positivo o negativo.The value
parameter can be positive or negative.
Restituisce
Oggetto il cui valore è la somma della data e dell'ora rappresentate dall'istanza e dell'ora rappresentata da value
.An object whose value is the sum of the date and time represented by this instance and the time represented by value
.
Eccezioni
Il valore risultante di DateTime è minore di MinValue o maggiore di MaxValue.The resulting DateTime is less than MinValue or greater than MaxValue.
Commenti
Questo metodo non modifica il valore di questo oggetto DateTime .This method does not change the value of this DateTime. Viene invece restituito un nuovo oggetto DateTime il cui valore è il risultato di questa operazione.Instead, it returns a new DateTime whose value is the result of this operation.