Click or drag to resize
DurationFromTimeSpan Method
Creates a new Duration instance based on the TimeSpan provided.

Consider that 24 hour days (no leap seconds) are used to calculate the days portion.

Namespace: Dse
Assembly: Dse (in Dse.dll) Version: 2.3.0
Syntax
C#
public static Duration FromTimeSpan(
	TimeSpan timespan
)

Parameters

timespan
Type: SystemTimeSpan

Return Value

Type: Duration
See Also