Group.SetV Method (Int32, Int32, TimeSpan, TimeSpanFormat) |
Sets the field value with the given format as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
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 bool SetV(
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:
Booleantrue if the value was replaced with the new one, and
false if a new field was inserted.
Exceptions Exception | Condition |
---|
EngineException | The tag number does not belong to the group. |
See Also