Click or drag to resize
Ranorex

DurationToTimeSpan Method

Returns a TimeSpan value corresponding to the Duration instance.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static TimeSpan ToTimeSpan(
	Duration duration
)

Parameters

duration
Type: RanorexDuration
A Duration instance.

Return Value

Type: TimeSpan
A TimeSpan value.
See Also