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.12.0.0
Syntax 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:
TimeSpanField value as a TimeSpan.
Exceptions Exception | Condition |
---|
Exception | The field does not belong to the message, the field value is absent or cannot be represented as a TimeSpan. |
See Also