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

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

Parameters

tag
Type: System.Int32
Tag number.
repeatingGroupEntryIndex
Type: System.Int32
Index of the repeating group entry (starts at 0).

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 a TimeSpan.
See Also