Sets the field value as string.

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 Set(
	int tag,
	string value
)
Visual Basic
Public Function Set ( _
	tag As Integer, _
	value As String _
) As Boolean
Visual C++
public:
bool Set(
	int tag, 
	String^ value
)

Parameters

tag
Type: System..::..Int32
Tag number.
value
Type: System..::..String
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