DateTime.AddTicks(Int64) Método
Definición
public:
DateTime AddTicks(long value);
public DateTime AddTicks (long value);
member this.AddTicks : int64 -> DateTime
Public Function AddTicks (value As Long) As DateTime
Parámetros
- value
- Int64
Número de pasos de 100 nanosegundos.A number of 100-nanosecond ticks. El parámetro value
puede ser positivo o negativo.The value
parameter can be positive or negative.
Devoluciones
Objeto cuyo valor es la suma de la fecha y hora representadas por esta instancia y la hora representada por value
.An object whose value is the sum of the date and time represented by this instance and the time represented by value
.
Excepciones
El DateTime resultante es menor que MinValue o mayor que MaxValue.The resulting DateTime is less than MinValue or greater than MaxValue.
Comentarios
Este método no cambia el valor de este DateTime .This method does not change the value of this DateTime. En su lugar, devuelve un nuevo DateTime cuyo valor es el resultado de esta operación.Instead, it returns a new DateTime whose value is the result of this operation.