Click or drag to resize
DurationCreate Method
Creates a duration with a certain amount of a specified unit.

Namespace:  Apptus.ESales.Connector.Time
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.5.0
Syntax
C#
public static Duration Create(
	int amount,
	Unit unit
)

Parameters

amount
Type: SystemInt32
unit
Type: Apptus.ESales.Connector.TimeUnit

Return Value

Type: Duration
See Also