Click or drag to resize

LayoutFieldSetNumber Method

Updates the decimal value the index occurence of field in message.

Namespace:  OBCOM.NetClient
Assembly:  OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax
public virtual void SetNumber(
	Message message,
	int index,
	Nullable<decimal> value
)

Parameters

message
Type: OBCOM.NetClientMessage
The message that will be updated.
index
Type: SystemInt32
The occurence index of the field.
value
Type: SystemNullableDecimal
The new decimal value of the field.
Exceptions
ExceptionCondition
IndexOutOfRangeException If index is out of bounds.
NotSupportedException If the field's type is not NUMERIC or SIGNED.
Remarks
This method can only be applied to fields of type NUMERIC or SIGNED.
See Also