Click or drag to resize

LayoutFieldSetString Method

Updates the string value of 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 SetString(
	Message message,
	int index,
	string value
)

Parameters

message
Type: OBCOM.NetClientMessage
The message that will be updated.
index
Type: SystemInt32
The occurence index of the field.
value
Type: SystemString
The string representation of the field value.
Exceptions
ExceptionCondition
IndexOutOfRangeException If index is out of bounds.
Remarks

The value is interpreted and converted based on the field's type. The resulting value is then stored as a sequence of characters in the message.

If value is null then the field's data is set to NULL (see IsNull for more details).

See Also