MessageSetString Method (String, String) |
Changes the string value of the field identified by fieldName to the supplied value.
Namespace:
OBCOM.NetClient
Assembly:
OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntaxpublic void SetString(
string fieldName,
string value
)
Public Sub SetString (
fieldName As String,
value As String
)
Parameters
- fieldName
- Type: SystemString
The name of the field. - value
- Type: SystemString
The new string value of the field.
ExceptionsException | Condition |
---|
InvalidOperationException |
If the Message has no Layout, or if the required field is not defined in
the Layout of the Message.
|
RemarksIf value is null the sequence is filled
with the special character NO-DATA (0x1A).
This method has the same effect as calling SetString(fieldName,
0, value).
See Also