| LayoutMessageIsNull Method (String) |
Returns true if the value of the field identified by
name is NULL.
Namespace:
OBCOM.NetSwitchLib.Layouts
Assembly:
OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax public bool IsNull(
string name
)
Public Function IsNull (
name As String
) As Boolean
Parameters
- name
- Type: SystemString
The name of the field.
Return Value
Type:
Booleantrue if the value of the field identified by
name is
NULL.
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 A field value is said to be NULL if it's first
character is the special character NO-DATA (0x1A).
This method has the same effect as calling IsNull(name,
0).
See Also