Sets the field value as Boolean.

Namespace: FIXForge.NET.FIX
Assembly: FIXForge.NET.FIX.Engine-net-3.5 (in FIXForge.NET.FIX.Engine-net-3.5.dll) Version: 2.79.1.0

Syntax

C#
public bool SetFlag(
	int tag,
	bool value
)
Visual Basic
Public Function SetFlag ( _
	tag As Integer, _
	value As Boolean _
) As Boolean
Visual C++
public:
bool SetFlag(
	int tag, 
	bool value
)

Parameters

tag
Type: System..::..Int32
Tag number.
value
Type: System..::..Boolean
Field value.

Return Value

true if the value was replaced with the new one, and false if a new field was inserted.

Exceptions

ExceptionCondition
FIXForge.NET.FIX..::..EngineExceptionThe tag number does not belong to the message.

See Also