In this example, we demonstrate how to use FIXMultipleValueString.
Note MultipleValueString can only be created by calling FIXMessageComponent.CreateMultipleValueString. Never try to create create an instance of MultipleValueString by directly calling the default constructor.
// Create a "NewOrderSingle" message. FIXMessage message = session.CreateMessage(MsgTypes.NewOrderSingle); // Create the multiple string FIXMultipleValueString execInst = message.CreateMultipleValueString(Tags.ExecInst); // Add values execInst.Add(ValidValues.ExecInst.NotHeld); execInst.Add(ValidValues.ExecInst.OkCross); execInst.Add(ValidValues.ExecInst.CancelOnSysFail); message.SetValue(Tags.ExecInst, execInst); // TODO: Set other fields
FIXMultipleValueString
FIXMessageComponent.CreateMultipleValueString
FIXMultipleValueString.Add