Click or drag to resize
Ranorex

DurationFromTimeSpan Method

Returns a new Duration instance initialized by the TimeSpan value.

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

Parameters

timeSpan
Type: SystemTimeSpan
The TimeSpan value.

Return Value

Type: Duration
The new Duration instance.
See Also