forwardSet Method (Int32, Int32, Double, Int32)   Table of ContentSetFlag Method forward
Group.Set Method (Int32, Int32, TimeSpan, TimeSpanFormat)
Sets the field value as a TimeSpan. Transforms input value into text-presentation with the given format, so actually stored value is text-presentation of input.

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
C#
public bool Set(
	int tag,
	int repeatingGroupEntryIndex,
	TimeSpan value,
	TimeSpanFormat format
)

Parameters

tag
Type: System.Int32
Tag number.
repeatingGroupEntryIndex
Type: System.Int32
Index of the repeating group entry (starts at 0).
value
Type: System.TimeSpan
Field value.
format
Type: FIXForge.NET.FIX.TimeSpanFormat
TimeSpan format.

Return Value

Type: Boolean
true if the value was replaced with the new one, and false if a new field was inserted.
Exceptions
ExceptionCondition
EngineExceptionThe tag number does not belong to the group.
See Also