forwardGetLong Method    Table of ContentGetTimestamp Method forward
FieldSet.GetTimeSpan Method
Returns the field value as a TimeSpan.

Namespace:  FIXForge.NET.FIX
Assembly:  FIXForge.NET.FIX.Engine-net-4.6.2_x64 (in FIXForge.NET.FIX.Engine-net-4.6.2_x64.dll) Version: 4.7.0.0
Syntax
C#
public TimeSpan GetTimeSpan(
	int tag
)

Parameters

tag
Type: System.Int32
Tag number.

Return Value

Type: TimeSpan
Field value as a TimeSpan.
Exceptions
ExceptionCondition
ExceptionThe field does not belong to the message, the field value is absent or cannot be represented as an UTC TimeSpan.
See Also