Returns the number of occurrences 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)
Syntaxpublic int GetOccurs(
string fieldName
)
Public Function GetOccurs (
fieldName As String
) As Integer
Parameters
- fieldName
- Type: SystemString
The name of the field.
Return Value
Type:
Int32
The number of occurrences of the field identified by
fieldName.
ExceptionsException | Condition |
---|
InvalidOperationException |
If the Message has no Layout, or if the required field is not defined in
the Layout of the Message.
|
See Also