MessageGetNumber Method (String) |
Returns the decimal value of the field identified by fieldName.
Namespace:
OBCOM.NetClient
Assembly:
OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax public Nullable<decimal> GetNumber(
string fieldName
)
Public Function GetNumber (
fieldName As String
) As Nullable(Of Decimal)
Parameters
- fieldName
- Type: SystemString
The name of the field.
Return Value
Type:
NullableDecimal
The decimal value of the field identified by
fieldName.
Exceptions Exception | Condition |
---|
InvalidOperationException |
If the Message has no Layout, or if the required field is not defined in
the Layout of the Message.
|
Remarks
This method has the same effect as calling GetNumber(fieldName, 0).
See Also