LayoutFieldGetNumber Method |
Returns the decimal value of the index occurence of
field in message.
Namespace:
OBCOM.NetClient
Assembly:
OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntaxpublic virtual Nullable<decimal> GetNumber(
Message message,
int index
)
Public Overridable Function GetNumber (
message As Message,
index As Integer
) As Nullable(Of Decimal)
Parameters
- message
- Type: OBCOM.NetClientMessage
The message that will be read. - index
- Type: SystemInt32
The occurence index of the field.
Return Value
Type:
NullableDecimal
The decimal value of Field(
index) in
message.
Exceptions
RemarksThis method can only be applied to fields of type NUMERIC or SIGNED.
If the field's data is NULL it returns null (see
IsNull for more
details).
See Also