| LayoutMessageSetSequence Method (String, String) |
Changes the string value of the field identified by name to the supplied value.
Namespace:
OBCOM.NetSwitchLib.Layouts
Assembly:
OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax public void SetSequence(
string name,
string value
)
Public Sub SetSequence (
name As String,
value As String
)
Parameters
- name
- Type: SystemString
The name of the field.
- value
- Type: SystemString
The new string value of the field.
Exceptions Exception | Condition |
---|
InvalidOperationException |
If this LayoutMessage has no Layout, or if the required field
is not defined in the Layout of this LayoutMessage.
|
Remarks If value is null the sequence is
filled with the special character NO-DATA (0x1A).
This method has the same effect as calling
SetSequence(name, 0, value).
See Also