forwardSet Method (Int32, Double, Int32)   Table of ContentSetFlag Method forward
FieldSet.Set Method (Int32, TimeSpan, TimeSpanFormat)
Sets the field value as a TimeSpan object. 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.6.2_x64 (in FIXForge.NET.FIX.Engine-net-4.6.2_x64.dll) Version: 4.7.0.0
Syntax
C#
public bool Set(
	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