FromTicks()

TimeSpan::FromTicks(int64_t) method

Returns a new TimeSpan object that represents the specified interval.

static constexpr TimeSpan System::TimeSpan::FromTicks(int64_t ticks)

Arguments

ParameterTypeDescription
ticksint64_tThe time interval expressed as the number of 100-nanoseconds intervals.

Return Value

A new TimeSpan object that represents the specified interval.

See Also