forwardSet Method (Int32, HighResolutionTimestamp, TimestampFormat)   Table of ContentSet Method (Int32, Decimal, Int32)forward
FieldSet.Set Method (Int32, DateTime, TimestampFormat)
Sets the field value as a DateTime 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.8_x64 (in FIXForge.NET.FIX.Engine-net-4.8_x64.dll) Version: 4.12.0.0
Syntax
C#
public bool Set(
	int tag,
	DateTime value,
	TimestampFormat format
)

Parameters

tag
Type: System.Int32
Tag number.
value
Type: System.DateTime
Field value.
format
Type: FIXForge.NET.FIX.TimestampFormat
Timestamp 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