Click or drag to resize

LayoutMessageGetChar Method (String)

Returns the first character of the value of the field identified by name.

Namespace:  OBCOM.NetSwitchLib.Layouts
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public Nullable<char> GetChar(
	string name
)

Parameters

name
Type: SystemString
The name of the field.

Return Value

Type: NullableChar
The first character of the value of the field identified by name.
Exceptions
ExceptionCondition
InvalidOperationException If this LayoutMessage has no Layout, or if the required field is not defined in the Layout of this LayoutMessage.
Remarks
This method has the same effect as calling GetChar(name, 0).
See Also