forwardSetV Method (Int32, Double, Int32)   Table of ContentTryGet Method forward
FieldSet.SetV Method (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.6.2_x64 (in FIXForge.NET.FIX.Engine-net-4.6.2_x64.dll) Version: 4.7.0.0
Syntax
C#
public bool SetV(
	int tag,
	TimeSpan value,
	TimeSpanFormat format
)

Parameters

tag
Type: System.Int32
Tag number.
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 message.
See Also