MessageSetChar Method (String, Int32, Char) |
Changes the character value of the field identified by fieldName and index to the supplied
value.
Namespace:
OBCOM.NetClient
Assembly:
OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax public void SetChar(
string fieldName,
int index,
char value
)
Public Sub SetChar (
fieldName As String,
index As Integer,
value As Char
)
Parameters
- fieldName
- Type: SystemString
The name of the field. - index
- Type: SystemInt32
The occurence index of the field. - value
- Type: SystemChar
The new character value of the field.
Exceptions Exception | Condition |
---|
InvalidOperationException |
If the Message has no Layout, or if the required field is not defined in
the Layout of the Message.
|
IndexOutOfRangeException |
If index is less than "0" (zero) or greater-equal to
the number of occurrences of the field, as indicated by the Occurs property.
|
Remarks See Also