Click or drag to resize

MessageSetLabel Method

Sets the value of the label indexed by key.

Namespace:  OBCOM.NetClient
Assembly:  OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax
public void SetLabel(
	int key,
	string value
)

Parameters

key
Type: SystemInt32
The key of the label to update.
value
Type: SystemString
The new value of the label.
Remarks
Setting the value of the label to null has the effect as removing the label from the Message. That is, it has exactly the same effect as calling the RemoveLabel(Int32) method with the same key.
See Also