TimeSpan.opOpAssign

Add or subtract the specified TimeSpan to this TimeSpan, assigning the result to this instance.

  1. TimeSpan opOpAssign(TimeSpan t)
    struct TimeSpan
    opOpAssign
    (
    string op
    )
    if (
    op == "+" ||
    op == "-"
    )
  2. TimeSpan opOpAssign(long v)

Parameters

t TimeSpan

A TimeSpan value to add or subtract

Return Value

Type: TimeSpan

a copy of this instance after adding or subtracting t.

Meta